dotfiles/TERMINAL.AUTOCOMPLETE.SH

21 lines
No EOL
529 B
Bash

# Enable Zsh completion system
autoload -Uz compinit
compinit
# Optional: Enable menu selection with tab
zstyle ':completion:*' menu select
# Optional: Case-insensitive completion
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
# Optional: Show completion matches in columns
setopt AUTO_LIST
# Optional: Automatically list choices on ambiguous completion
setopt LIST_AMBIGUOUS
# Optional: Complete as much as possible on first tab
setopt AUTO_MENU
# Optional: Allow completion from within a word
setopt COMPLETE_IN_WORD