fix(tmux): use full offset parameter (#12249)

master
张天泽 2 years ago committed by GitHub
parent 8e088ded82
commit 2c62584b83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      plugins/tmux/tmux.plugin.zsh

@ -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 \"\$@\"

Loading…
Cancel
Save