fix(tmux): do not conflict with rcExpandParam

Closes #12506
This commit is contained in:
Carlo Sala 2024-07-15 18:45:46 +02:00
parent 4146c6be21
commit 379e974d2b
No known key found for this signature in database
GPG Key ID: DA6FB450C1A4FE9A

View File

@ -50,6 +50,7 @@ fi
# ALIASES # ALIASES
function _build_tmux_alias { function _build_tmux_alias {
setopt localoptions no_rc_expand_param
eval "function $1 { eval "function $1 {
if [[ -z \$1 ]] || [[ \${1:0:1} == '-' ]]; then if [[ -z \$1 ]] || [[ \${1:0:1} == '-' ]]; then
tmux $2 \"\$@\" tmux $2 \"\$@\"