Remove which -> type -P alias.
Aliases are not the same as programs. They won't work in subshells.
It's better to just use which as it's only 88K.
(cherry picked from commit 73ba0ae2de11a2aa610649949c8f0de444c67763)
Signed-off-by: Domen Kožar <domen@dev.si>