-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
22 lines (18 loc) · 791 Bytes
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/dash sh
#
export ZSH="$HOME/.config/zsh/zsh-base"
source $ZSH/zsh.sh
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"
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
source "$HOME/.config/zsh/zsh-exports.zsh"
source "$HOME/.config/zsh/zsh-alias/zsh-source-alias.zsh"
source "$HOME/.config/zsh/zsh-plugins/zsh-source-plugins.zsh"
# eval "$(starship init zsh)"
zinit ice as"command" from"gh-r" \
atclone"./starship init zsh > init.zsh; ./starship completions zsh > _starship" \
atpull"%atclone" src"init.zsh"
zinit light starship/starship