=added option to stay around after pwsh
This commit is contained in:
parent
509e15f8ef
commit
624ca2cc8c
|
@ -15,8 +15,10 @@ if [[ "$SZ_SKIP_DEFAULT_SHELL" != "1" ]]; then
|
|||
echo 'Starting PowerShell SZcripts...'
|
||||
echo "pwsh" >> /tmp/default_shell
|
||||
pwsh
|
||||
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "continue" >> /tmp/default_shell
|
||||
export SZ_SKIP_DEFAULT_SHELL=1
|
||||
|
|
|
@ -15,8 +15,10 @@ if [[ "$SZ_SKIP_DEFAULT_SHELL" != "1" ]]; then
|
|||
echo 'Starting PowerShell SZcripts...'
|
||||
echo "pwsh" >> /tmp/default_shell
|
||||
pwsh
|
||||
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "continue" >> /tmp/default_shell
|
||||
export SZ_SKIP_DEFAULT_SHELL=1
|
||||
|
|
|
@ -15,9 +15,11 @@ if [[ "$SZ_SKIP_DEFAULT_SHELL" != "1" ]]; then
|
|||
echo 'Starting PowerShell SZcripts...'
|
||||
echo "pwsh" >> /tmp/default_shell
|
||||
pwsh
|
||||
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "continue" >> /tmp/default_shell
|
||||
export SZ_SKIP_DEFAULT_SHELL=1
|
||||
|
||||
|
|
Loading…
Reference in New Issue