shell/tmux: prevent zsh from being run twice on startup
This commit is contained in:
parent
25ad7c8197
commit
bef09488b9
|
@ -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 -------------------------------
|
||||
|
||||
|
|
|
@ -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"'
|
||||
|
|
Loading…
Reference in a new issue