Compare commits
No commits in common. "048758e4c4e71680c968c8fa121d723ba7171f85" and "c206b33c50e49b9c78d3da8395ca5e83da82f818" have entirely different histories.
048758e4c4
...
c206b33c50
1 changed files with 6 additions and 1 deletions
|
@ -162,7 +162,12 @@ 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