Commit 889cddb7 authored by Frank Terbeck's avatar Frank Terbeck

Use tmux_cmd[] instead of tmux directly

parent 35123466
......@@ -2109,8 +2109,8 @@ if (( ${+functions[ta]} )); then
function TA/three-shells () {
[[ $session == (quake|d/*) ]] || return 0
local wd=$1
repeat 2; do tmux new-window -c $wd -t $session; done
repeat 2; do tmux previous-window -t $session; done
repeat 2; do "${tmux_cmd[@]}" new-window -c $wd -t $session; done
repeat 2; do "${tmux_cmd[@]}" previous-window -t $session; done
return 0
}
zstyle ':fnc:ta:*' pre-kill-previous-session-hook TA/kill-message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment