[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

regenerating the zsh completion cache



Hi,

If I install a new package and it installs a new binary, how do I get
zsh to complete the name of the binary when I hit tab.  Obviously I
could just start a new shell, but that's too easy.

Here is the completions part of my .zshrc:

# The following lines were added by compinstall

zstyle ':completion:*' file-sort modification
zstyle ':completion:*' ignore-parents parent pwd
zstyle ':completion:*' matcher-list '+r:|[/]=* r:|=*' '+r:|[/]=* r:|=*'
'+r:|[/]=* r:|=*' '+r:|[/]=* r:|=*'
zstyle :compinstall filename '/home/cgray4/.zshrc'

autoload -U compinit
compinit
# End of lines added by compinstall


Thanks,
Chris

Attachment: pgpajW2sGLKNO.pgp
Description: PGP signature


Reply to: