|
|
@ -28,7 +28,6 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \
|
|
|
|
# and no session has been created.
|
|
|
|
# and no session has been created.
|
|
|
|
if ! tmux has-session 2> /dev/null; then
|
|
|
|
if ! tmux has-session 2> /dev/null; then
|
|
|
|
tmux \
|
|
|
|
tmux \
|
|
|
|
start-server \; \
|
|
|
|
|
|
|
|
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
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|