will do auto-rehash

This commit is contained in:
Mike Hostetler 2010-03-30 12:44:29 -05:00
commit adcf4ce82c

10
lib/rehash.zsh Normal file
View file

@ -0,0 +1,10 @@
#-*- sh -*-
## will rehash
_force_rehash() {
(( CURRENT == 1 )) && rehash
return 1 # Because we didn't really complete anything
}
zstyle ':completion:::::' completer _force_rehash _complete _approximate