1
0
Fork 0

refs #544 Only creates default session if none created in tmux.conf

pull/575/head
Xavier Cambar 11 years ago
parent fedad8e9cf
commit def720f604

@ -23,7 +23,9 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \
); then ); then
tmux_session='prezto' tmux_session='prezto'
# Create a first 'prezto' session if tmux is starting. tmux start-server
# Create a first 'prezto' session if tmux is starting
# 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 \; \ start-server \; \

Loading…
Cancel
Save