From 379e974d2b54bcc7de0f1787a592957031616559 Mon Sep 17 00:00:00 2001
From: Carlo Sala <carlosalag@protonmail.com>
Date: Mon, 15 Jul 2024 18:45:46 +0200
Subject: [PATCH] fix(tmux): do not conflict with `rcExpandParam`

Closes #12506
---
 plugins/tmux/tmux.plugin.zsh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh
index 399de1ccc..51cc7d6a5 100644
--- a/plugins/tmux/tmux.plugin.zsh
+++ b/plugins/tmux/tmux.plugin.zsh
@@ -50,6 +50,7 @@ fi
 
 # ALIASES
 function _build_tmux_alias {
+  setopt localoptions no_rc_expand_param
   eval "function $1 {
     if [[ -z \$1 ]] || [[ \${1:0:1} == '-' ]]; then
       tmux $2 \"\$@\"