summaryrefslogtreecommitdiff
path: root/shell/key-bindings.zsh
diff options
context:
space:
mode:
authorLangLangBart <92653266+LangLangBart@users.noreply.github.com>2023-10-14 10:41:01 +0200
committerGitHub <noreply@github.com>2023-10-14 17:41:01 +0900
commit3e1735b06eb458525b496645dd6cc9ffc606f61d (patch)
treec2eddcac1d8c45ae5c1aa9fce919b2ebf05dac51 /shell/key-bindings.zsh
parentde7ef7eacedc152bdbd78ab13db797dfe8a4b6ed (diff)
downloadfzf-3e1735b06eb458525b496645dd6cc9ffc606f61d.tar.gz
[zsh] Fix 'emulate: unknown argument -o' error on old zsh (#3465)
Fix #2094
Diffstat (limited to 'shell/key-bindings.zsh')
-rw-r--r--shell/key-bindings.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.zsh b/shell/key-bindings.zsh
index 4c4f0a08..b64f7916 100644
--- a/shell/key-bindings.zsh
+++ b/shell/key-bindings.zsh
@@ -35,7 +35,7 @@ else
}
fi
-'emulate' 'zsh' '-o' 'no_aliases'
+'builtin' 'emulate' 'zsh' && 'builtin' 'setopt' 'no_aliases'
{