diff --git a/lib/django_completion.zsh b/lib/managepy_completion.zsh similarity index 100% rename from lib/django_completion.zsh rename to lib/managepy_completion.zsh diff --git a/lib/rehash.zsh b/lib/rehash.zsh new file mode 100644 index 000000000..2179c9a9e --- /dev/null +++ b/lib/rehash.zsh @@ -0,0 +1,8 @@ +# auto rehash +_force_rehash(){ + (( CURRENT == 1)) && rehash + return 1 # because we didn't really complete anything +} + +zstyle ':completion:::::' completer _force_rehash _complete _approximate +