From 9890b200c96df3d32f9a4195a9d7582d9abe5d57 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 31 Jul 2022 01:38:00 -0500 Subject: [PATCH] refactor: set autojump back to env --- .config/zsh/config/omz-init.zsh | 2 -- .config/zsh/config/profile/profile/env.zsh | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/zsh/config/omz-init.zsh b/.config/zsh/config/omz-init.zsh index 7b6287d..08f1395 100644 --- a/.config/zsh/config/omz-init.zsh +++ b/.config/zsh/config/omz-init.zsh @@ -2,8 +2,6 @@ # omz directory :( configure() { - ### Autojump ### - source "${HOME}/.local/share/autojump/etc/profile.d/autojump.sh" plugins=( git diff --git a/.config/zsh/config/profile/profile/env.zsh b/.config/zsh/config/profile/profile/env.zsh index be5f842..58d570d 100644 --- a/.config/zsh/config/profile/profile/env.zsh +++ b/.config/zsh/config/profile/profile/env.zsh @@ -8,6 +8,10 @@ export ZSH_HIGHLIGHT_MAXLENGTH=10000 export ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=2 export ZSH_AUTOSUGGEST_STRATEGY=(history completion) +### Autojump ### +source "${HOME}/.local/share/autojump/etc/profile.d/autojump.sh" +export PATH="${PATH}:${HOME}/.local/share/autojump/bin" + ### FZF ### [[ -f "${HOME}/.config/fzf/fzf.zsh" ]] && source "${HOME}/.config/fzf/fzf.zsh" export FZF_DEFAULT_COMMAND='fd --hidden --exclude .git --color=always'