I try to create an alias for ls (should basically just map to ls -lah)
I've tried the following code, but it's not working:
function ls
ls -lah
end
funcsave ls
but when I call it I get this message:
The function 'ls' calls itself immediately, which would result in an infinite loop. in function 'ls' called on standard input
If you need to make alias of
ls, then the above answers are OK. However, fish already has a command forls -lah, which isla.