The fish shell will underline a path given as an argument to a command such as ls. Is there a way to change that behavior since I find it very ugly?

For example:

enter image description here


1 Answer 1


fish underlining valid path by defaul:

$ set | grep fish_color_valid_path
fish_color_valid_path --underline

You only need to reset it:

$ set fish_color_valid_path
$ ls /etc/fstab
  • Is this overwritten by fish_color_param ? I can't manage to set a color for a valid path
    – gruvw
    Jan 4 at 14:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.