fixed <prefix>+e not working when EDITOR is set to 'emacsclient -t' and the default shell is zsh, fixes #591
This commit is contained in:
parent
b620a4f0fb
commit
5fa30deb20
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ setw -q -g utf8 on
|
||||||
set -g history-limit 5000 # boost history
|
set -g history-limit 5000 # boost history
|
||||||
|
|
||||||
# edit configuration
|
# edit configuration
|
||||||
bind e new-window -n "~/.tmux.conf.local" "EDITOR=\${EDITOR//mvim/vim} && EDITOR=\${EDITOR//gvim/vim} && \${EDITOR:-vim} ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\""
|
bind e new-window -n "~/.tmux.conf.local" sh -c 'EDITOR=${EDITOR//mvim/vim} && EDITOR=${EDITOR//gvim/vim} && ${EDITOR:-vim} ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display "~/.tmux.conf sourced"'
|
||||||
|
|
||||||
# reload configuration
|
# reload configuration
|
||||||
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
||||||
|
|
Loading…
Reference in a new issue