mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 11:22:17 +08:00
Compare commits
2 Commits
8462646133
...
0acb72befb
Author | SHA1 | Date | |
---|---|---|---|
|
0acb72befb | ||
|
4fa4d5e482 |
@ -38,8 +38,14 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" && -z "$INSIDE_EMACS" && "$TERM_PRO
|
||||
fi
|
||||
|
||||
# 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
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Aliases
|
||||
|
Loading…
Reference in New Issue
Block a user