This commit is contained in:
Philipp Schmitt 2025-01-13 16:35:58 -05:00 committed by GitHub
commit 8462646133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,13 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" && -z "$INSIDE_EMACS" && -z "$VSCOD
fi
# Attach to the 'prezto' session or to the last session used. (detach first)
exec tmux $_tmux_iterm_integration attach-session -d
if (( $+commands[termux-info] )); then
# Simlate exec on Termux
tmux -f "$tmux_config" $_tmux_iterm_integration attach-session -d
exit "$?"
else
exec tmux $_tmux_iterm_integration attach-session -d
fi
fi
#