Add a script to run a program and then zsh -i

This commit is contained in:
Sami Samhuri 2025-01-10 21:16:59 +00:00
parent d85d6c817b
commit 68ddcacf2a
No known key found for this signature in database

9
screen-shell Executable file
View file

@ -0,0 +1,9 @@
#!/bin/zsh
#
# Executes all the given arguments and then starts an interactive shell.
# Intended to be used in .screenrc to run a command and not close the
# screen when it exits.
"$@"
echo "$@ exited with $?, starting zsh..."
zsh -i