Skip to content

alias for ls breaks chruby.sh #413

Description

@tomquas

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

[[ -d "$dir" && -n "$(ls -A "$dir")" ]] && RUBIES+=("$dir"/*)

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions