|
|
@ -31,7 +31,7 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \
|
|
|
|
|
|
|
|
|
|
|
|
# Create a 'prezto' session if no session has been defined in tmux.conf.
|
|
|
|
# Create a 'prezto' session if no session has been defined in tmux.conf.
|
|
|
|
if ! tmux has-session 2> /dev/null; then
|
|
|
|
if ! tmux has-session 2> /dev/null; then
|
|
|
|
zstyle -s ':prezto:module:tmux' tmux_session 'session' || tmux_session='prezto'
|
|
|
|
zstyle -s ':prezto:module:tmux:session' name tmux_session || tmux_session='prezto'
|
|
|
|
tmux \
|
|
|
|
tmux \
|
|
|
|
new-session -d -s "$tmux_session" \; \
|
|
|
|
new-session -d -s "$tmux_session" \; \
|
|
|
|
set-option -t "$tmux_session" destroy-unattached off &> /dev/null
|
|
|
|
set-option -t "$tmux_session" destroy-unattached off &> /dev/null
|
|
|
|