|
|
@ -24,7 +24,7 @@ autoload -Uz compinit && compinit -i |
|
|
|
setopt COMPLETE_IN_WORD # Complete from both ends of a word. |
|
|
|
setopt COMPLETE_IN_WORD # Complete from both ends of a word. |
|
|
|
setopt ALWAYS_TO_END # Move cursor to the end of a completed word. |
|
|
|
setopt ALWAYS_TO_END # Move cursor to the end of a completed word. |
|
|
|
setopt PATH_DIRS # Perform path search even on command names with slashes. |
|
|
|
setopt PATH_DIRS # Perform path search even on command names with slashes. |
|
|
|
setopt AUTO_MENU # Show completion menu on a succesive tab press. |
|
|
|
setopt AUTO_MENU # Show completion menu on a successive tab press. |
|
|
|
setopt AUTO_LIST # Automatically list choices on ambiguous completion. |
|
|
|
setopt AUTO_LIST # Automatically list choices on ambiguous completion. |
|
|
|
setopt AUTO_PARAM_SLASH # If completed parameter is a directory, add a trailing slash. |
|
|
|
setopt AUTO_PARAM_SLASH # If completed parameter is a directory, add a trailing slash. |
|
|
|
unsetopt MENU_COMPLETE # Do not autoselect the first completion entry. |
|
|
|
unsetopt MENU_COMPLETE # Do not autoselect the first completion entry. |
|
|
@ -34,7 +34,7 @@ unsetopt FLOW_CONTROL # Disable start/stop characters in shell editor. |
|
|
|
# Styles |
|
|
|
# Styles |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
|
|
|
|
# Use caching to make completion for cammands such as dpkg and apt usable. |
|
|
|
# Use caching to make completion for commands such as dpkg and apt usable. |
|
|
|
zstyle ':completion::complete:*' use-cache on |
|
|
|
zstyle ':completion::complete:*' use-cache on |
|
|
|
zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zcompcache" |
|
|
|
zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zcompcache" |
|
|
|
|
|
|
|
|
|
|
|