zinit moment

This commit is contained in:
TymanWasTaken 2022-02-16 09:50:57 -07:00
parent 3c0b76792f
commit e640429588
No known key found for this signature in database
GPG key ID: 7F17F5E1693307E7
2 changed files with 11 additions and 8 deletions

10
dotfiles/.zinit.zsh Normal file
View file

@ -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

View file

@ -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