From 38aca8584286842dd99dc8f28e3d44a4c743d3bc Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Sat, 27 May 2023 10:10:55 +0200 Subject: Besseres Setup für Auto-Vervollständigung MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/completion | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 zsh/completion (limited to 'zsh/completion') diff --git a/zsh/completion b/zsh/completion new file mode 100644 index 0000000..ce676bb --- /dev/null +++ b/zsh/completion @@ -0,0 +1,16 @@ +# vim: filetype=zsh + +# Command completion +autoload -U compinit; compinit +_comp_options+=(globdots) # With hidden files + +zstyle ':completion:*' completer _extensions _complete _approximate + +zstyle ':completion:*' menu select + +zstyle ':completion:*:*:*:*:descriptions' format '%F{green}-- %d --%f' +zstyle ':completion:*:*:*:*:corrections' format '%F{yellow}!- %d (errors: %e) -!%f' +zstyle ':completion:*:*:*:*:messages' format ' %F{purple} -- %d --%f' +zstyle ':completion:*:*:*:*:warnings' format ' %F{red}-- no matches found --%f' +zstyle ':completion:*' group-name '' + -- cgit v1.3