zsh: add oh my zsh direnv plugin

also, renamed some stuff
This commit is contained in:
PowerUser64 2023-06-09 03:22:52 -07:00
parent 1a7a341894
commit f7506b09d5

12
.zshrc
View file

@ -21,6 +21,9 @@ ${SKIP_PLUGINS:-false} || {
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# }}")}' ' ')
# ^^^^ syntax highlighting fix
# Source zinit
source "$ZINIT_HOME_DIR/bin/zinit.zsh"
autoload -Uz _zinit
@ -42,13 +45,13 @@ ${SKIP_PLUGINS:-false} || {
alias zinit='ice wait"!0" depth"1";zinit'
# Special history options
zinit snippet OMZ::lib/history.zsh
zinit snippet OMZL::history.zsh
# Some better completion options (waiting dots, etc)
zinit snippet OMZ::lib/completion.zsh
zinit snippet OMZL::completion.zsh
# Terminal titling
zinit snippet OMZ::lib/termsupport.zsh
zinit snippet OMZL::termsupport.zsh
# Required lib functions (specifically omz_urlencode)
zinit snippet OMZ::lib/functions.zsh
zinit snippet OMZL::functions.zsh
# Quality of life
@ -61,6 +64,7 @@ ${SKIP_PLUGINS:-false} || {
# Plugins for use with Nix
zinit load "chisui/zsh-nix-shell"
zinit load "spwhitt/nix-zsh-completions"
zinit snippet OMZP::direnv
## Theme
# terminal colors