Init Zoxide after compinit so its compdef works
This commit is contained in:
parent
7a3921ad91
commit
89e3f7f93a
1 changed files with 4 additions and 2 deletions
|
@ -35,14 +35,16 @@ zmodule zsh-users/zsh-autosuggestions
|
|||
|
||||
(( ${+commands[brew]} )) && zmodule homebrew
|
||||
zeval-if-installed direnv 'direnv hook zsh'
|
||||
zeval-if-installed zoxide 'zoxide init zsh'
|
||||
|
||||
# Additional completion definitions for Zsh.
|
||||
zmodule zsh-users/zsh-completions --fpath src
|
||||
# Enables and configures smart and extensive tab completion.
|
||||
# completion *must* be sourced after all modules that add completion definitions.
|
||||
# completion *must* be sourced after all modules that add completion definitions to fpath.
|
||||
zmodule completion
|
||||
|
||||
# Initialise Zoxide after compinit, because it calls compdef if available.
|
||||
zeval-if-installed zoxide 'zoxide init zsh'
|
||||
|
||||
# Fish-style syntax highlighting as you type, making the Zsh experience much more friendly!
|
||||
zmodule zdharma-continuum/fast-syntax-highlighting
|
||||
|
||||
|
|
Loading…
Reference in a new issue