diff options
author | xero <x@xero.nu> | 2015-03-07 20:49:16 -0500 |
---|---|---|
committer | xero <x@xero.nu> | 2015-03-07 20:49:28 -0500 |
commit | 37ef7b9e48d9a496c08540772a110b85aacac2e6 (patch) | |
tree | 90ca18509aa45ec523a550c3a6ad622ca2d627a4 /zsh/.zsh/autocompletion.zsh | |
parent | 627c9813c7c95ea2e3d45de0e44bab4f17e78f51 (diff) | |
download | dotfiles_ascii-37ef7b9e48d9a496c08540772a110b85aacac2e6.tar.xz dotfiles_ascii-37ef7b9e48d9a496c08540772a110b85aacac2e6.zip |
organize and modularize zsh configs
Diffstat (limited to '')
-rwxr-xr-x | zsh/.zsh/autocompletion.zsh | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/zsh/.zsh/autocompletion.zsh b/zsh/.zsh/autocompletion.zsh new file mode 100755 index 0000000..273e604 --- /dev/null +++ b/zsh/.zsh/autocompletion.zsh @@ -0,0 +1,35 @@ +# ██ +# ░██ +# ██████ ██████░██ +# ░░░░██ ██░░░░ ░██████ +# ██ ░░█████ ░██░░░██ +# ██ ░░░░░██░██ ░██ +# ██████ ██████ ░██ ░██ +# ░░░░░░ ░░░░░░ ░░ ░░ +# +# ▓▓▓▓▓▓▓▓▓▓ +# ░▓ author ▓ xero <x@xero.nu> +# ░▓ code ▓ http://code.xero.nu/dotfiles +# ░▓ mirror ▓ http://git.io/.files +# ░▓▓▓▓▓▓▓▓▓▓ +# ░░░░░░░░░░ +# +#█▓▒░ autocompletion systems +autoload -Uz compinit +compinit + +zstyle ':completion:*' auto-description 'specify: %d' +zstyle ':completion:*' completer _expand _complete _correct _approximate +zstyle ':completion:*' format 'Completing %d' +zstyle ':completion:*' group-name '' +zstyle ':completion:*' menu select=2 eval "$(dircolors -b)" +zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} +zstyle ':completion:*' list-colors '' +zstyle ':completion:*' list-prompt %SAt %p: hit TAB for more, or the character to insert%s +zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*' +zstyle ':completion:*' menu select=long +zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s +zstyle ':completion:*' use-compctl false +zstyle ':completion:*' verbose true +zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' +zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' |