This commit is contained in:
Nikolas Weger 2020-12-18 12:26:08 +01:00
parent 9a2284b481
commit 2f73bbf945
5 changed files with 240 additions and 61 deletions

View file

@ -1,4 +1,6 @@
export path=($path $HOME/.config/dotfiles/bin)
# Enable Powerlevel10k instant prompt
[[ -r "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh" ]] && source "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh"
export fpath=($fpath $ZDOTDIR/local/fpath)
export FZF_MARKS_FILE=$HOME/.config/fzfmarks
export STARSHIP_CONFIG=$ZDOTDIR/starship.toml
@ -28,6 +30,9 @@ zinit ice as"program" from"gh-r" mv"exa* -> exa"; zinit light ogham/exa
zinit ice as"program" from"gh-r" mv"pet* -> pet" pick"usr/local/bin/pet"; zinit light knqyf263/pet
zinit ice as"program" from"gh-r" mv"ripgrep* -> ripgrep" pick"ripgrep/rg"; zinit load BurntSushi/ripgrep
zinit ice as"program" from"gh-r" mv"gopass* -> gopass" pick"gopass/gopass"; zinit load gopasspw/gopass
zinit ice as"program" from"gh-r" mv"jq-* -> jq"; zinit load "stedolan/jq"
zinit ice as"program" pick"emojify"; zinit load "mrowa44/emojify"
# Completions and Autosuggestions
zinit ice wait lucid blockf atpull'zinit creinstall -q .'; zinit light zsh-users/zsh-completions
@ -77,13 +82,18 @@ zinit ice wait lucid; zinit light Aloxaf/fzf-tab
zinit ice wait lucid; zinit light wfxr/forgit
zinit ice wait lucid; zinit light reegnz/jq-zsh-plugin
zinit ice wait lucid; zinit light asdf-vm/asdf
zinit ice wait lucid; zinit light b4b4r07/emoji-cli
# syntax highlighting
zpcompinit
zinit ice wait lucid atinit"zpcdreplay -q"; zinit light zsh-users/zsh-syntax-highlighting
# Theme
_evalcache starship init zsh
zinit ice depth=1; zinit light romkatv/powerlevel10k
#_evalcache starship init zsh
# Local RC
[[ -f "$ZDOTDIR/local/rc.zsh" ]] && source "$ZDOTDIR/local/rc.zsh"
# To customize prompt, run `p10k configure` or edit ~/.config/dotfiles/zsh/.p10k.zsh.
[[ ! -f ~/.config/dotfiles/zsh/.p10k.zsh ]] || source ~/.config/dotfiles/zsh/.p10k.zsh