From 2e24e3e44a174acea8c1b84cdbd960d51cec1777 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Sun, 16 Jul 2017 00:15:00 +0200 Subject: [PATCH] zsh: completion: add list-suffixes --- zsh/completion.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/completion.zsh b/zsh/completion.zsh index c415940..bbed865 100644 --- a/zsh/completion.zsh +++ b/zsh/completion.zsh @@ -62,6 +62,11 @@ zstyle ':completion:*:expand:*' tag-order all-expansions # keep prefixed unexpanded if possible zstyle ':completion:*:expand:*' keep-prefix on +# Display all matching ambiguous components when completing multiple path +# components. +zstyle ':completion:*' list-suffixes on +# TODO: keep list-suffixes or not? + # ignore completion functions (until the _ignored completer) zstyle ':completion:*:functions' ignored-patterns '_*' # do not propose anything starting with '_' when offering typo corrections