initialize completion later

This commit is contained in:
Paweł Płazieński 2016-04-05 19:59:37 +02:00
parent f13ab0e258
commit 9c8294a417

7
.zshrc
View File

@ -46,9 +46,6 @@ find_up () {
#---------------------------------- Tab completion ----------------------------
autoload -Uz compinit
compinit
# Force a reload of completion system if nothing matched; this fixes installing
# a program and then trying to tab-complete its name
_force_rehash() {
@ -542,6 +539,10 @@ autoload -Uz zmv
#---------------------------------- Post Setup --------------------------------
# at last initialize completion
autoload -Uz compinit
compinit
store_last_return_value() {
LAST_RETURN_VALUE="$?"
}