We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
kill_session_prompt.sh
1 parent a315c42 commit 421f0cdCopy full SHA for 421f0cd
scripts/kill_session_prompt.sh
@@ -8,5 +8,9 @@ CURRENT_SESSION_ID="$2"
8
9
main() {
10
tmux confirm -p "kill-session ${CURRENT_SESSION_NAME}? (y/n)" "run '$CURRENT_DIR/kill_session.sh \'$CURRENT_SESSION_ID''"
11
+
12
+ if [ $? -ne 0 ]; then
13
+ return # do nothing
14
+ fi
15
}
16
main
0 commit comments