mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
fix(tmux): use full offset parameter (#12249)
This commit is contained in:
1 file changed
+1
-1
@@ -49,7 +49,7 @@ fi
|
||||
# ALIASES
|
||||
function _build_tmux_alias {
|
||||
eval "function $1 {
|
||||
if [[ -z \$1 ]] || [[ \${1::1} == '-' ]]; then
|
||||
if [[ -z \$1 ]] || [[ \${1:0:1} == '-' ]]; then
|
||||
tmux $2 \"\$@\"
|
||||
else
|
||||
tmux $2 $3 \"\$@\"
|
||||
|
||||
Reference in new issue
Block a user