commit 15ee21267da36510229cd63f05670ded249267db
parent 1836cc4d0bb1d3697c863fb166ce44e914a3466e
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Thu, 4 Aug 2022 14:29:45 +0200
tmux command
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/bin/zshaskpass_lock b/bin/zshaskpass_lock
@@ -161,6 +161,8 @@ cmd() {
zsh -li; printf "shell exited with %d\n" $?;;
(cleanshell)
run zsh -li; printf "shell exited with %d\n" $?;;
+ (tmux)
+ run tmux -u new-session -A -s ${TTY:t} ; printf "tmux exited with %d\n" $?;;
(*) printf '%s: unknown command\n' ${(qqq)REPLY};;
esac
}