diff --git a/lib/env.zsh b/lib/env.zsh index 38cbde8..948bbb5 100755 --- a/lib/env.zsh +++ b/lib/env.zsh @@ -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 diff --git a/lib/prompt.zsh b/lib/prompt.zsh index e6e82f5..2435063 100755 --- a/lib/prompt.zsh +++ b/lib/prompt.zsh @@ -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