Compare commits
2 commits
c206b33c50
...
048758e4c4
Author | SHA1 | Date | |
---|---|---|---|
048758e4c4 | |||
621847ddbc |
1 changed files with 1 additions and 6 deletions
|
@ -162,12 +162,7 @@ public_shell() {
|
||||||
# shellcheck disable=2209
|
# shellcheck disable=2209
|
||||||
[ -z "$SHELL" ] && SHELL=sh
|
[ -z "$SHELL" ] && SHELL=sh
|
||||||
|
|
||||||
set -- "$SHELL"
|
set -- "$SHELL" "$@"
|
||||||
case "$SHELL" in
|
|
||||||
sh|bash|zsh|ksh|mksh|oksh)
|
|
||||||
set -- "$@" -i
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue