summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-01-23 14:17:04 -0600
committerZachIR <zachir@librem.one>2025-01-23 14:17:04 -0600
commitdd88548e55fc05f2b9dff855143e87141690b42a (patch)
tree2d61bbf34d1a63d2ba75ffd0f89ae06929461eca
parent695fcfe3d77d8ce3d07a609ded2f6deab5946433 (diff)
Fix zsh search bindkeys
They used single quotes, but needed to be double quotes.
-rw-r--r--zsh/zshrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 0d6ecd5..4c633ee 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -61,12 +61,12 @@ if [ -n "$ZPLUG_INSTALLED" ]; then
# zsh history substring search
zplug "zsh-users/zsh-history-substring-search", as:plugin
- bindkey '${key[Up]}' history-substring-search-up
- bindkey '${key[Down]}' history-substring-search-down
- bindkey -M vicmd '${key[Up]}' history-substring-search-up
- bindkey -M vicmd '${key[Down]}' history-substring-search-down
- bindkey -M vicmd 'k' history-substring-search-up
- bindkey -M vicmd 'j' history-substring-search-down
+ bindkey "${key[Up]}" history-substring-search-up
+ bindkey "${key[Down]}" history-substring-search-down
+ bindkey -M vicmd "${key[Up]}" history-substring-search-up
+ bindkey -M vicmd "${key[Down]}" history-substring-search-down
+ bindkey -M vicmd "k" history-substring-search-up
+ bindkey -M vicmd "j" history-substring-search-down
# zsh syntax highlighting
zplug "zsh-users/zsh-syntax-highlighting", defer:2