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
    Commented Jan 4, 2022 at 14:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .