1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 15:30:40 +01:00

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

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