=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 'Starting PowerShell SZcripts...'
|
||||||
echo "pwsh" >> /tmp/default_shell
|
echo "pwsh" >> /tmp/default_shell
|
||||||
pwsh
|
pwsh
|
||||||
|
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
echo "continue" >> /tmp/default_shell
|
echo "continue" >> /tmp/default_shell
|
||||||
export SZ_SKIP_DEFAULT_SHELL=1
|
export SZ_SKIP_DEFAULT_SHELL=1
|
||||||
|
|
|
@ -15,8 +15,10 @@ if [[ "$SZ_SKIP_DEFAULT_SHELL" != "1" ]]; then
|
||||||
echo 'Starting PowerShell SZcripts...'
|
echo 'Starting PowerShell SZcripts...'
|
||||||
echo "pwsh" >> /tmp/default_shell
|
echo "pwsh" >> /tmp/default_shell
|
||||||
pwsh
|
pwsh
|
||||||
|
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
echo "continue" >> /tmp/default_shell
|
echo "continue" >> /tmp/default_shell
|
||||||
export SZ_SKIP_DEFAULT_SHELL=1
|
export SZ_SKIP_DEFAULT_SHELL=1
|
||||||
|
|
|
@ -15,9 +15,11 @@ if [[ "$SZ_SKIP_DEFAULT_SHELL" != "1" ]]; then
|
||||||
echo 'Starting PowerShell SZcripts...'
|
echo 'Starting PowerShell SZcripts...'
|
||||||
echo "pwsh" >> /tmp/default_shell
|
echo "pwsh" >> /tmp/default_shell
|
||||||
pwsh
|
pwsh
|
||||||
|
if [[ ! -f /tmp/keep_shell_after_pwsh ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
echo "continue" >> /tmp/default_shell
|
echo "continue" >> /tmp/default_shell
|
||||||
export SZ_SKIP_DEFAULT_SHELL=1
|
export SZ_SKIP_DEFAULT_SHELL=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue