mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-28 03:13:03 +01:00
fix(tmux): handle $EDITOR with options in tmuxconf alias (#14159)
* fix(tmux): handle `$EDITOR` with options in `tmuxconf` alias * docs(tmux): update docs for `tmuxconf`
This commit is contained in:
1 parent
f68e5ec392
commit
1195c3a15e
2 files changed
+13
-13
No files matched your search
@@ -77,7 +77,7 @@ function _build_tmux_alias {
|
||||
|
||||
alias tksv='tmux kill-server'
|
||||
alias tl='tmux list-sessions'
|
||||
alias tmuxconf='$EDITOR $ZSH_TMUX_CONFIG'
|
||||
alias tmuxconf='${(z)EDITOR:-vim} "$ZSH_TMUX_CONFIG"'
|
||||
|
||||
_build_tmux_alias "ta" "attach" "-t"
|
||||
_build_tmux_alias "tad" "attach -d" "-t"
|
||||
|
||||
Reference in new issue
Block a user