Move zsh compinit to .zshrc.local.

This commit is contained in:
Gea-Suan Lin
2023-11-08 17:24:49 +08:00
parent 5e3802ec51
commit a39a19f7ab
2 changed files with 3 additions and 3 deletions

3
.zshrc
View File

@@ -45,9 +45,6 @@ if [[ "$COLORTERM" == "gnome-terminal" && -z "$TMUX" && -z "$WINDOW" ]]; then
export TERM=xterm-256color
fi
#
autoload -Uz compinit
compinit
#
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:git*' formats "%b"

View File

@@ -38,3 +38,6 @@ if [ -d "${HOME}/.rvm" ]; then
fi
source "${HOME}/.rvm/scripts/rvm"
fi
#
autoload -Uz compinit
compinit