summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/completion.zsh2
-rw-r--r--shell/key-bindings.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/completion.zsh b/shell/completion.zsh
index d5ef40bc..c01bbb82 100644
--- a/shell/completion.zsh
+++ b/shell/completion.zsh
@@ -70,7 +70,7 @@ fi
# control. There are several others that could wreck havoc if they are set
# to values we don't expect. With the following `emulate` command we
# sidestep this issue entirely.
-'emulate' 'zsh' '-o' 'no_aliases'
+'builtin' 'emulate' 'zsh' && 'builtin' 'setopt' 'no_aliases'
# This brace is the start of try-always block. The `always` part is like
# `finally` in lesser languages. We use it to *always* restore user options.
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'
{