Normally on Windows, I alias ls to
alias ls="ls -hNFCs --color=auto -I NTUSER.DAT\* -I ntuser.dat\*"
This removes the NTUSER.DAT files from my view when I ls my home directory along with setting some reasonable defaults.
However, doing the same with fish, I noticed my .dircolors are not being read. It is because ls.fish loads up .dircolors but when I override it with the alias it loses that capability.
So my question is, how do I extend the default ls.fish just to add my extra parameters?
The closest thing I can do is copy the ls.fish file and modify the relevant portion
function ls --description "List contents of directory" -V opt
isatty stdout
and set -a opt -F
and set -a opt -hNFCs -I NTUSER.DAT\* -I ntuser.dat\*
command ls $opt $argv
end