Use which not where
This commit is contained in:
parent
81378e08d0
commit
3444e1083b
@ -7,7 +7,7 @@ interpreters=()
|
||||
add() {
|
||||
local interp=$1
|
||||
if command -v $interp &> /dev/null; then
|
||||
interpreters+=($(where $interp))
|
||||
interpreters+=($(which $interp))
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user