How to stop fish shell from underlining path

fish

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

Best Answer

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
Related Question