Add a script to run a program and then zsh -i
This commit is contained in:
parent
d85d6c817b
commit
68ddcacf2a
1 changed files with 9 additions and 0 deletions
9
screen-shell
Executable file
9
screen-shell
Executable 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
|
||||
Loading…
Reference in a new issue