=added option to stay around after pwsh
This commit is contained in:
parent
509e15f8ef
commit
624ca2cc8c
3 changed files with 9 additions and 3 deletions
|
@ -15,7 +15,9 @@ if [[ "$SZ_SKIP_DEFAULT_SHELL" != "1" ]]; then
|
|||
echo 'Starting PowerShell SZcripts...'
|
||||
echo "pwsh" >> /tmp/default_shell
|
||||
pwsh
|
||||
exit
|
||||
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "continue" >> /tmp/default_shell
|
||||
|
|
|
@ -15,7 +15,9 @@ if [[ "$SZ_SKIP_DEFAULT_SHELL" != "1" ]]; then
|
|||
echo 'Starting PowerShell SZcripts...'
|
||||
echo "pwsh" >> /tmp/default_shell
|
||||
pwsh
|
||||
exit
|
||||
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "continue" >> /tmp/default_shell
|
||||
|
|
|
@ -15,7 +15,9 @@ if [[ "$SZ_SKIP_DEFAULT_SHELL" != "1" ]]; then
|
|||
echo 'Starting PowerShell SZcripts...'
|
||||
echo "pwsh" >> /tmp/default_shell
|
||||
pwsh
|
||||
exit
|
||||
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "continue" >> /tmp/default_shell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue