zsh: add oh my zsh direnv plugin
also, renamed some stuff
This commit is contained in:
parent
1a7a341894
commit
f7506b09d5
1 changed files with 8 additions and 4 deletions
12
.zshrc
12
.zshrc
|
@ -21,6 +21,9 @@ ${SKIP_PLUGINS:-false} || {
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# }}")}' ' ')
|
||||||
|
# ^^^^ syntax highlighting fix
|
||||||
|
|
||||||
# Source zinit
|
# Source zinit
|
||||||
source "$ZINIT_HOME_DIR/bin/zinit.zsh"
|
source "$ZINIT_HOME_DIR/bin/zinit.zsh"
|
||||||
autoload -Uz _zinit
|
autoload -Uz _zinit
|
||||||
|
@ -42,13 +45,13 @@ ${SKIP_PLUGINS:-false} || {
|
||||||
alias zinit='ice wait"!0" depth"1";zinit'
|
alias zinit='ice wait"!0" depth"1";zinit'
|
||||||
|
|
||||||
# Special history options
|
# Special history options
|
||||||
zinit snippet OMZ::lib/history.zsh
|
zinit snippet OMZL::history.zsh
|
||||||
# Some better completion options (waiting dots, etc)
|
# Some better completion options (waiting dots, etc)
|
||||||
zinit snippet OMZ::lib/completion.zsh
|
zinit snippet OMZL::completion.zsh
|
||||||
# Terminal titling
|
# Terminal titling
|
||||||
zinit snippet OMZ::lib/termsupport.zsh
|
zinit snippet OMZL::termsupport.zsh
|
||||||
# Required lib functions (specifically omz_urlencode)
|
# Required lib functions (specifically omz_urlencode)
|
||||||
zinit snippet OMZ::lib/functions.zsh
|
zinit snippet OMZL::functions.zsh
|
||||||
|
|
||||||
|
|
||||||
# Quality of life
|
# Quality of life
|
||||||
|
@ -61,6 +64,7 @@ ${SKIP_PLUGINS:-false} || {
|
||||||
# Plugins for use with Nix
|
# Plugins for use with Nix
|
||||||
zinit load "chisui/zsh-nix-shell"
|
zinit load "chisui/zsh-nix-shell"
|
||||||
zinit load "spwhitt/nix-zsh-completions"
|
zinit load "spwhitt/nix-zsh-completions"
|
||||||
|
zinit snippet OMZP::direnv
|
||||||
|
|
||||||
## Theme
|
## Theme
|
||||||
# terminal colors
|
# terminal colors
|
||||||
|
|
Loading…
Add table
Reference in a new issue