Compare commits

...

2 Commits

Author SHA1 Message Date
Philipp Schmitt
0acb72befb
Merge 4fa4d5e482 into 9195b66161 2024-06-20 05:46:51 +00:00
Philipp Schmitt
4fa4d5e482
Fix TMUX module for Termux hosts 2020-06-06 10:06:05 +02:00

View File

@ -38,7 +38,13 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" && -z "$INSIDE_EMACS" && "$TERM_PRO
fi fi
# Attach to the 'prezto' session or to the last session used. (detach first) # 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 fi
# #