andresgongora / synth-shell

Boost your terminal, script by script
GNU General Public License v3.0
945 stars 236 forks source link

--skip-alias not in Ubuntu bash #229

Open broans opened 2 years ago

broans commented 2 years ago

See issue https://unix.stackexchange.com/questions/10525/how-to-use-which-on-an-aliased-command

Change better-ls.sh local LS="$(which --skip-alias ls)"

To: local LS="$(type -P ls)"

andresgongora commented 2 years ago

Thanks, added to d2d6f57. Let me know if it works