Cannot set _ alias
In fish, _ is defined as a function.
So when you set the alias, commands such as "type" don't work properly.
e. g.
$ alias _=ls $ type ls ls: cannot access '%s is a function': No such file or directory lsls: cannot access ' with definition': No such file or directory # Defined in /usr/share/fish/functions/ls.fish @ line 13 function ls --description 'List contents of directory' set -l opt --color=auto isatty stdout and set -a opt -F command ls $opt $argv end
Is there a workaround for this?
$ fish --version fish, version 3.1.0 $ uname -a Linux sleepcat 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux $ echo $TERM screen-256color