chruby icon indicating copy to clipboard operation
chruby copied to clipboard

alias for ls breaks chruby.sh

Open tomquas opened this issue 5 years ago • 2 comments

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

tomquas avatar Mar 12 '19 19:03 tomquas

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

I've made a Pull Request for this.

benlieb avatar May 21 '19 15:05 benlieb

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

FranklinYu avatar Aug 30 '20 06:08 FranklinYu