Use of which obviates the need for env

This commit is contained in:
Joel Kuzmarski 2016-08-19 17:52:40 -05:00
parent ef93c738b9
commit 21c64ee0c9

View File

@ -193,9 +193,9 @@ main() {
printf "${NORMAL}" printf "${NORMAL}"
if [ -n "$CHSH_ZSH" ]; then if [ -n "$CHSH_ZSH" ]; then
exec env "$CHSH_ZSH" -l exec "$CHSH_ZSH" -l
elif [ -n "$ENV_ZSH" ]; then elif [ -n "$ENV_ZSH" ]; then
exec env "$ENV_ZSH" exec "$ENV_ZSH"
fi fi
} }