mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-25 02:17:00 +08:00
ANTIGEN_EXCLUDE
This commit is contained in:
parent
b504e97598
commit
8a78837664
34
.zshrc2
34
.zshrc2
|
@ -42,19 +42,27 @@ fi
|
||||||
source "$ANTIGEN"
|
source "$ANTIGEN"
|
||||||
antigen use oh-my-zsh
|
antigen use oh-my-zsh
|
||||||
# enable plugins
|
# enable plugins
|
||||||
antigen bundle command-not-found
|
antigen_plugins=( \
|
||||||
antigen bundle docker
|
"command-not-found" \
|
||||||
antigen bundle extract
|
"docker" \
|
||||||
antigen bundle fzf
|
"extract" \
|
||||||
antigen bundle git
|
"fzf" \
|
||||||
antigen bundle ripgrep
|
"git" \
|
||||||
antigen bundle thefuck
|
"ripgrep" \
|
||||||
antigen bundle tmux
|
"thefuck" \
|
||||||
antigen bundle ufw
|
"tmux" \
|
||||||
antigen bundle z
|
"ufw" \
|
||||||
antigen bundle https://gitee.com/dictxiong/zsh-syntax-highlighting
|
"z" \
|
||||||
antigen bundle https://gitee.com/dictxiong/zsh-completions
|
"https://gitee.com/dictxiong/zsh-syntax-highlighting" \
|
||||||
antigen bundle https://gitee.com/dictxiong/zsh-autosuggestions
|
"https://gitee.com/dictxiong/zsh-completions" \
|
||||||
|
"https://gitee.com/dictxiong/zsh-autosuggestions" \
|
||||||
|
)
|
||||||
|
for i in ${antigen_plugins[*]}
|
||||||
|
do
|
||||||
|
if [[ -z $ANTIGEN_EXCLUDE || ! $i =~ $ANTIGEN_EXCLUDE ]]; then
|
||||||
|
antigen bundle $i
|
||||||
|
fi
|
||||||
|
done
|
||||||
# select theme
|
# select theme
|
||||||
antigen theme ${ZSH_THEME:-ys}
|
antigen theme ${ZSH_THEME:-ys}
|
||||||
# apply
|
# apply
|
||||||
|
|
Loading…
Reference in New Issue
Block a user