39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
### Added by Zinit's installer
|
|
if [[ ! -f $ZDOTDIR/.zinit/bin/zinit.zsh ]]; then
|
|
print -P "%F{33}▓▒░ %F{220}Installing DHARMA Initiative Plugin Manager (zdharma/zinit)…%f"
|
|
command mkdir -p "$ZDOTDIR/.zinit" && command chmod g-rwX "$ZDOTDIR/.zinit"
|
|
command git clone https://github.com/zdharma-continuum/zinit "$ZDOTDIR/.zinit/bin" && \
|
|
print -P "%F{33}▓▒░ %F{34}Installation successful.%f" || \
|
|
print -P "%F{160}▓▒░ The clone has failed.%f"
|
|
fi
|
|
source "$ZDOTDIR/.zinit/bin/zinit.zsh"
|
|
autoload -Uz _zinit
|
|
(( ${+_comps} )) && _comps[zinit]=_zinit
|
|
### End of Zinit installer's chunk
|
|
zinit ice wait"2" lucid as"program" pick"bin/git-dsf"
|
|
zinit light zdharma-continuum/zsh-diff-so-fancy
|
|
|
|
zinit ice wait"2" lucid as"program" pick"$ZPFX/bin/git-now" make"prefix=$ZPFX install"
|
|
zinit light iwata/git-now
|
|
|
|
zinit ice wait"2" lucid as"program" pick"$ZPFX/bin/git-alias" make"PREFIX=$ZPFX" nocompile
|
|
zinit light tj/git-extras
|
|
|
|
zinit ice wait"2" lucid as"program" atclone'perl Makefile.PL PREFIX=$ZPFX' atpull'%atclone' \
|
|
make'install' pick"$ZPFX/bin/git-cal"
|
|
zinit light k4rthik/git-cal
|
|
|
|
zinit light "supercrabtree/k"
|
|
|
|
zinit load atuinsh/atuin
|
|
|
|
zinit load "kevinywlui/zlong_alert.zsh"
|
|
|
|
ZSHRC_DIR="${ZDOTDIR:-$HOME/.config/zsh}/zshrc.d"
|
|
if [[ -d $ZSHRC_DIR ]]; then
|
|
for f in "${ZSHRC_DIR}/"*.enabled(N); do
|
|
[[ -f $f && -r $f ]] || continue
|
|
source "$f"
|
|
done
|
|
fi
|