From ab33b9141608dfe2e4c3ad37b69ada654d07ec73 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 3 Apr 2024 18:46:44 -0600 Subject: [PATCH] Set up navi --- emacs/.emacs.d/init.el | 2 +- zsh/.zshenv | 2 ++ zsh/.zshrc | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 8898e82..5712b63 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -52,7 +52,7 @@ "WORKON_HOME" "PIPENV_VERBOSITY" "PIPENV_DONT_LOAD_ENV" "PIPENV_MAX_DEPTH" "PIPENV_VENV_IN_FILE" "PYENV_ROOT" "KOPS_STATE_STORE" "PLAID_CLIENT_ID" "PLAID_SECRET" - "PLAID_ENVIRONMENT")) + "PLAID_ENVIRONMENT" "NAVI_PATH" "NAVI_REPOS")) (exec-path-from-shell-check-startup-files nil) (exec-path-from-shell-arguments '("-l"))) diff --git a/zsh/.zshenv b/zsh/.zshenv index c141694..fdff33a 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -41,3 +41,5 @@ if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' fi # End Nix + +export NAVI_PATH="/Users/jdormit/Library/Application Support/navi/cheats/denisidoro__cheats:/Users/jdormit/Library/Application Support/navi/cheats/denisidoro__navi-tldr-pages" diff --git a/zsh/.zshrc b/zsh/.zshrc index c1f5909..68d4ec2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -268,3 +268,5 @@ PROMPT=$PROMPT'%{$(vterm_prompt_end)%}' [[ -z "$tw_prompt" ]] || tw_prompt=$tw_prompt'%{$(vterm_prompt_end)%}' [[ -f "$HOME/.zshrc-spotify" ]] && source "$HOME/.zshrc-spotify" + +type navi > /dev/null && eval "$(navi widget zsh)"