So on Linux almost everyone has in their shell startup scripts:
alias ls="ls --color=auto"
I have ls
that is seems to be aliased to the dir
command on my PowerShell. I installed ls.exe
via scoop install coreutils
, and I want to “alias” ls
to ls.exe
with the --color=auto
argument. I read here that one has to use a function to wrap ls.exe
, but I don’t know how to do that.