mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-13 09:20:09 +00:00
fix(tmux): use full offset parameter (#12249)
This commit is contained in:
parent
8e088ded82
commit
2c62584b83
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ fi
|
||||||
# ALIASES
|
# ALIASES
|
||||||
function _build_tmux_alias {
|
function _build_tmux_alias {
|
||||||
eval "function $1 {
|
eval "function $1 {
|
||||||
if [[ -z \$1 ]] || [[ \${1::1} == '-' ]]; then
|
if [[ -z \$1 ]] || [[ \${1:0:1} == '-' ]]; then
|
||||||
tmux $2 \"\$@\"
|
tmux $2 \"\$@\"
|
||||||
else
|
else
|
||||||
tmux $2 $3 \"\$@\"
|
tmux $2 $3 \"\$@\"
|
||||||
|
|
Loading…
Reference in a new issue