From e640429588a574e7b8422d5df8b0f87303a3b0f2 Mon Sep 17 00:00:00 2001 From: TymanWasTaken <32660892+TymanWasTaken@users.noreply.github.com> Date: Wed, 16 Feb 2022 09:50:57 -0700 Subject: [PATCH] zinit moment --- dotfiles/.zinit.zsh | 10 ++++++++++ dotfiles/.zshrc | 9 +-------- 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 dotfiles/.zinit.zsh diff --git a/dotfiles/.zinit.zsh b/dotfiles/.zinit.zsh new file mode 100644 index 0000000..877a522 --- /dev/null +++ b/dotfiles/.zinit.zsh @@ -0,0 +1,10 @@ +zinit ice depth=1; zinit light romkatv/powerlevel10k; # Powerlevel10k theme +zinit light anatolykopyl/doas-zsh-plugin; # Double-escape adds doas to command +zinit light Tarrasch/zsh-command-not-found; # Shows command suggestions on invalid +zinit light Game4Move78/zsh-bitwarden; # Bitwarden cli utilities +zinit light ianthehenry/zsh-autoquoter; # Auto adds quotes around some commands +zinit light zdharma-continuum/fast-syntax-highlighting; # Syntax highlighting +zinit light zsh-users/zsh-autosuggestions # Command suggestions + +export ZSH_AUTOSUGGEST_STRATEGY=(history completion) # Use history when available, then completion +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # Load Powerlevel10k config diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 7bae4f7..4c00638 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -57,14 +57,7 @@ zinit light-mode for \ zdharma-continuum/zinit-annex-rust # End of Zinit's installer chunk -#---------------------------------------------------------------------------------# -### Zinit plugins -zinit ice depth=1; zinit light romkatv/powerlevel10k # Powerlevel10k -zinit light zsh-users/zsh-autosuggestions # Autosuggestions -zinit light zdharma-continuum/fast-syntax-highlighting # Syntax highlighting - -# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. -[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +[[ ! -f ~/.zinit.zsh ]] || source ~/.zinit.zsh # Load zinit plugins and themes #---------------------------------------------------------------------------------# ### Fixes export GPG_TTY=$(tty) # Fix gpg signing