aboutsummaryrefslogtreecommitdiff
path: root/04-options.zsh
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-11-11 11:47:38 -0700
committerJosh Rahm <rahm@google.com>2021-11-11 11:47:38 -0700
commitb78c3b1f01685a58907f63445efa012a5cbc3566 (patch)
tree0bba0c2faa674bc33c1ee8afdb178eb22e5c0615 /04-options.zsh
downloadzshrcd-b78c3b1f01685a58907f63445efa012a5cbc3566.tar.gz
zshrcd-b78c3b1f01685a58907f63445efa012a5cbc3566.tar.bz2
zshrcd-b78c3b1f01685a58907f63445efa012a5cbc3566.zip
Rework my zsh files into a .zshrc.d file.
Diffstat (limited to '04-options.zsh')
-rw-r--r--04-options.zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/04-options.zsh b/04-options.zsh
new file mode 100644
index 0000000..35b0a85
--- /dev/null
+++ b/04-options.zsh
@@ -0,0 +1,7 @@
+zstyle ':completion:*' menu select
+zmodload zsh/complist
+
+zstyle ':completion:*' matcher-list '' \
+ 'm:{a-z\-}={A-Z\_}' \
+ 'r:[^[:alpha:]]||[[:alpha:]]=** r:|=* m:{a-z\-}={A-Z\_}' \
+ 'r:|?=** m:{a-z\-}={A-Z\_}'