Skip to content

Commit eda0818

Browse files
benjamineskolapostmodern
authored andcommitted
Use command ls, in case ls is an alias
1 parent 4f38caa commit eda0818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/chruby/chruby.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CHRUBY_VERSION="0.3.9"
22
RUBIES=()
33

44
for dir in "$PREFIX/opt/rubies" "$HOME/.rubies"; do
5-
[[ -d "$dir" && -n "$(ls -A "$dir")" ]] && RUBIES+=("$dir"/*)
5+
[[ -d "$dir" && -n "$(command ls -A "$dir")" ]] && RUBIES+=("$dir"/*)
66
done
77
unset dir
88

0 commit comments

Comments
 (0)