zinit moment
This commit is contained in:
parent
3c0b76792f
commit
e640429588
2 changed files with 11 additions and 8 deletions
10
dotfiles/.zinit.zsh
Normal file
10
dotfiles/.zinit.zsh
Normal 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
|
|
@ -57,14 +57,7 @@ zinit light-mode for \
|
||||||
zdharma-continuum/zinit-annex-rust
|
zdharma-continuum/zinit-annex-rust
|
||||||
|
|
||||||
# End of Zinit's installer chunk
|
# End of Zinit's installer chunk
|
||||||
#---------------------------------------------------------------------------------#
|
[[ ! -f ~/.zinit.zsh ]] || source ~/.zinit.zsh # Load zinit plugins and themes
|
||||||
### 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
|
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
### Fixes
|
### Fixes
|
||||||
export GPG_TTY=$(tty) # Fix gpg signing
|
export GPG_TTY=$(tty) # Fix gpg signing
|
||||||
|
|
Reference in a new issue