mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
zsh: fix completion when zplug is enabled
This commit is contained in:
parent
2f607e07f3
commit
3570373012
1 changed files with 2 additions and 2 deletions
|
@ -632,10 +632,10 @@ in
|
||||||
'') cfg.plugins))
|
'') cfg.plugins))
|
||||||
|
|
||||||
''
|
''
|
||||||
# Oh-My-Zsh/Prezto calls compinit during initialization,
|
# Oh-My-Zsh/Prezto/zplug calls compinit during initialization,
|
||||||
# calling it twice causes slight start up slowdown
|
# calling it twice causes slight start up slowdown
|
||||||
# as all $fpath entries will be traversed again.
|
# as all $fpath entries will be traversed again.
|
||||||
${optionalString (cfg.enableCompletion && !cfg.oh-my-zsh.enable && !cfg.prezto.enable)
|
${optionalString (cfg.enableCompletion && !cfg.oh-my-zsh.enable && !cfg.prezto.enable && !cfg.zplug.enable)
|
||||||
cfg.completionInit
|
cfg.completionInit
|
||||||
}''
|
}''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue