0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02: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
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 \"\$@\"