shell/tmux: prevent zsh from being run twice on startup

This commit is contained in:
Henrik Lissner 2017-03-19 16:27:25 -04:00
parent 25ad7c8197
commit bef09488b9
2 changed files with 2 additions and 5 deletions

View file

@ -2,7 +2,6 @@
set -g default-terminal screen-256color
set -g default-shell $SHELL
set -g default-command $SHELL
set -s quiet on
set -s focus-events on
# increase scrollback buffer size
@ -176,9 +175,6 @@ bind -t vi-copy Escape cancel
bind -t vi-copy H start-of-line
bind -t vi-copy L end-of-line
# copy to Mac OSX pasteboard
if -b 'type -p reattach-to-user-namespace > /dev/null 2>&1' 'bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy"'
# -- THEME -------------------------------

View file

@ -1,2 +1,3 @@
set -g default-command "reattach-to-user-namespace -l zsh"
# copy to Mac OSX pasteboard
if -b 'type -p reattach-to-user-namespace > /dev/null 2>&1' 'bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy"'