Shell: Fix space in path

This commit is contained in:
Dylan Araps 2016-12-23 00:14:19 +11:00
parent 7653e3bef7
commit 48b3b575d3
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ get_shell() {
*)
shell+="$("$SHELL" --version 2>&1)"
shell="${shell/${SHELL##*/}}"
shell="${shell/ ${SHELL##*/}}"
;;
esac