1
0
Fork 0

Fix TMUX module for Termux hosts

pull/1849/head
Philipp Schmitt 5 years ago
parent ff91c8d410
commit 4fa4d5e482
No known key found for this signature in database
GPG Key ID: DC439C47EACB17F9

@ -38,8 +38,14 @@ 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)
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 exec tmux $_tmux_iterm_integration attach-session -d
fi fi
fi
# #
# Aliases # Aliases

Loading…
Cancel
Save