16 lines
571 B
Bash
16 lines
571 B
Bash
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
|
|
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
|
|
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
|
|
source "${ZINIT_HOME}/zinit.zsh"
|
|
|
|
zinit light Aloxaf/fzf-tab
|
|
zinit light zsh-users/zsh-syntax-highlighting
|
|
zinit light zsh-users/zsh-autosuggestions
|
|
|
|
zicompinit; zicdreplay
|
|
|
|
# Platform-specific configuration lives inside .zshcustom.
|
|
# The file is ignored by the dotfiles git repo.
|
|
if [ -f $HOME/.zshcustom ]; then
|
|
source $HOME/.zshcustom
|
|
fi
|