Use which not where

This commit is contained in:
Kenneth Benzie 2025-07-08 15:09:16 +01:00
parent 81378e08d0
commit 3444e1083b

View File

@ -7,7 +7,7 @@ interpreters=()
add() {
local interp=$1
if command -v $interp &> /dev/null; then
interpreters+=($(where $interp))
interpreters+=($(which $interp))
fi
}