Merge pull request #1311 from scop/shell-detect-improvements
Shell detect improvements
This commit is contained in:
commit
ccb4601f3a
@ -38,6 +38,7 @@ if [ -z "$shell" ]; then
|
||||
shell="${shell##-}"
|
||||
shell="${shell:-$SHELL}"
|
||||
shell="${shell##*/}"
|
||||
shell="${shell%%-*}"
|
||||
fi
|
||||
|
||||
root="${0%/*}/.."
|
||||
|
Loading…
x
Reference in New Issue
Block a user