fix: load compinit earlier

This commit is contained in:
Daylin Morgan 2023-01-25 16:03:16 -06:00
parent 5505371cf2
commit 9e926666d0
2 changed files with 2 additions and 3 deletions

View file

@ -16,6 +16,8 @@ export LS_COLORS="ow=1;34:tw=1;34:st=00;"
# add completions to fpath
fpath=($DOTFILES_DIR/lib/completions $fpath)
autoload -Uz compinit && compinit
# Append to the history file, rather than overwriting it
setopt APPEND_HISTORY

View file

@ -1,8 +1,5 @@
#!/usr/bin/env zsh
autoload -Uz compinit
compinit
is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)"
if is-executable starship; then