fix: load compinit earlier
This commit is contained in:
parent
5505371cf2
commit
9e926666d0
2 changed files with 2 additions and 3 deletions
|
@ -16,6 +16,8 @@ export LS_COLORS="ow=1;34:tw=1;34:st=00;"
|
||||||
# add completions to fpath
|
# add completions to fpath
|
||||||
fpath=($DOTFILES_DIR/lib/completions $fpath)
|
fpath=($DOTFILES_DIR/lib/completions $fpath)
|
||||||
|
|
||||||
|
autoload -Uz compinit && compinit
|
||||||
|
|
||||||
# Append to the history file, rather than overwriting it
|
# Append to the history file, rather than overwriting it
|
||||||
setopt APPEND_HISTORY
|
setopt APPEND_HISTORY
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
autoload -Uz compinit
|
|
||||||
compinit
|
|
||||||
|
|
||||||
is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)"
|
is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)"
|
||||||
|
|
||||||
if is-executable starship; then
|
if is-executable starship; then
|
||||||
|
|
Loading…
Reference in a new issue