1

Since result of /usr/bin/ls is more neat compares with eshell/ls when filenames contain non-lattin Unicodes. I add an alias in ~/.emacs.d/eshell/alias, which makes eshell use /usr/bin/ls as default:
alias ls /usr/bin/ls $*.
But this can only apply to Linux/Unix system, how can I make eshell know when it's Windows use eshell/ls as default ls command?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.