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:
Runrioter Wung authored and GitHub committed 2026-11-24 11:39:45 -08:00
1 parent f68e5ec392
commit 1195c3a15e
2 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -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"