postmodern / chruby

Changes the current Ruby
MIT License
2.85k stars 190 forks source link

alias for ls breaks chruby.sh #413

Open tomquas opened 5 years ago

tomquas commented 5 years ago

i recently aliased ls in .bashrc: alias ls='lsd'

at the bottom of .bashrc, i have source /usr/local/share/chruby/chruby.sh

which now errors out on the unsupported -A flag

a change of line https://github.com/postmodern/chruby/blob/4c4672214e2200271c3301a6f4e2cbb9445d6efd/share/chruby/chruby.sh#L5

from 'ls -A' to '/bin/ls -A' fixes this

benlieb commented 5 years ago

I just did the same thing and was about to make an issue.

I've made a Pull Request for this.

FranklinYu commented 3 years ago

Any news about this? Either #406 or #424 would work for me.