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