From 25cd8380f802b069f95d9514563aa2a083176925 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Mon, 15 May 2017 14:32:03 +0200 Subject: Add prompt and other conf.d --- conf.d/70-completions.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 conf.d/70-completions.zsh (limited to 'conf.d/70-completions.zsh') diff --git a/conf.d/70-completions.zsh b/conf.d/70-completions.zsh new file mode 100644 index 0000000..50a6503 --- /dev/null +++ b/conf.d/70-completions.zsh @@ -0,0 +1,8 @@ +# 0 -- vanilla completion (abc => abc) +# 1 -- smart case completion (abc => Abc) +# 2 -- word flex completion (abc => A-big-Car) +# 3 -- full flex completion (abc => ABraCadabra) +zstyle ':completion:*' matcher-list '' \ + 'm:{a-z\-}={A-Z\_}' \ + 'r:[^[:alpha:]]||[[:alpha:]]=** r:|=* m:{a-z\-}={A-Z\_}' \ + 'r:|?=** m:{a-z\-}={A-Z\_}' -- cgit v1.2.3