initialize completion later
This commit is contained in:
parent
f13ab0e258
commit
9c8294a417
7
.zshrc
7
.zshrc
@ -46,9 +46,6 @@ find_up () {
|
|||||||
|
|
||||||
#---------------------------------- Tab completion ----------------------------
|
#---------------------------------- Tab completion ----------------------------
|
||||||
|
|
||||||
autoload -Uz compinit
|
|
||||||
compinit
|
|
||||||
|
|
||||||
# Force a reload of completion system if nothing matched; this fixes installing
|
# Force a reload of completion system if nothing matched; this fixes installing
|
||||||
# a program and then trying to tab-complete its name
|
# a program and then trying to tab-complete its name
|
||||||
_force_rehash() {
|
_force_rehash() {
|
||||||
@ -542,6 +539,10 @@ autoload -Uz zmv
|
|||||||
|
|
||||||
#---------------------------------- Post Setup --------------------------------
|
#---------------------------------- Post Setup --------------------------------
|
||||||
|
|
||||||
|
# at last initialize completion
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
|
||||||
store_last_return_value() {
|
store_last_return_value() {
|
||||||
LAST_RETURN_VALUE="$?"
|
LAST_RETURN_VALUE="$?"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user