Skip to content

alias for ls breaks chruby.sh #413

@tomquas

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

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