diff options
| author | Thomas Schmucker <ts@its1.de> | 2023-05-27 10:10:55 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2023-05-27 10:10:55 +0200 |
| commit | 38aca8584286842dd99dc8f28e3d44a4c743d3bc (patch) | |
| tree | 672d18664108e677343e0ef257ca1f8362d7777e /zsh/completion | |
| parent | ea20114f0842e9995e5bd8fa01c88c8f6516b80d (diff) | |
| download | dotfiles-38aca8584286842dd99dc8f28e3d44a4c743d3bc.tar.gz dotfiles-38aca8584286842dd99dc8f28e3d44a4c743d3bc.tar.bz2 dotfiles-38aca8584286842dd99dc8f28e3d44a4c743d3bc.zip | |
Besseres Setup für Auto-Vervollständigung
Diffstat (limited to 'zsh/completion')
| -rw-r--r-- | zsh/completion | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zsh/completion b/zsh/completion new file mode 100644 index 0000000..ce676bb --- /dev/null +++ b/zsh/completion | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | # vim: filetype=zsh | ||
| 2 | |||
| 3 | # Command completion | ||
| 4 | autoload -U compinit; compinit | ||
| 5 | _comp_options+=(globdots) # With hidden files | ||
| 6 | |||
| 7 | zstyle ':completion:*' completer _extensions _complete _approximate | ||
| 8 | |||
| 9 | zstyle ':completion:*' menu select | ||
| 10 | |||
| 11 | zstyle ':completion:*:*:*:*:descriptions' format '%F{green}-- %d --%f' | ||
| 12 | zstyle ':completion:*:*:*:*:corrections' format '%F{yellow}!- %d (errors: %e) -!%f' | ||
| 13 | zstyle ':completion:*:*:*:*:messages' format ' %F{purple} -- %d --%f' | ||
| 14 | zstyle ':completion:*:*:*:*:warnings' format ' %F{red}-- no matches found --%f' | ||
| 15 | zstyle ':completion:*' group-name '' | ||
| 16 | |||
