From f7506b09d5938fa8bb036f7c8db28b33c570ede1 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Fri, 9 Jun 2023 03:22:52 -0700 Subject: [PATCH] zsh: add oh my zsh direnv plugin also, renamed some stuff --- .zshrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index f8b43ba..14ee2bb 100644 --- a/.zshrc +++ b/.zshrc @@ -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