From 5f2786c2ecc6a11868a5ef95261c378273dc5113 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 1 Aug 2022 02:47:55 -0500 Subject: [PATCH] refactor: remove autojump Autojump is a PIA, it's a simple dir tracker with some fancy ranking and it uses python to accomplish. For some fucking reason the install process is very difficult and because the author has chosen fucken PYTHON there's a fuckton of environment issues when jumping systems. --- dots/.config/zsh/completions/completions/_j | 6 ------ dots/.config/zsh/profile/profile/env.zsh | 4 ---- 2 files changed, 10 deletions(-) delete mode 100644 dots/.config/zsh/completions/completions/_j diff --git a/dots/.config/zsh/completions/completions/_j b/dots/.config/zsh/completions/completions/_j deleted file mode 100644 index 6cbd600..0000000 --- a/dots/.config/zsh/completions/completions/_j +++ /dev/null @@ -1,6 +0,0 @@ -#compdef j -cur=${words[2, -1]} - -autojump --complete ${=cur[*]} | while read i; do - compadd -U "$i"; -done diff --git a/dots/.config/zsh/profile/profile/env.zsh b/dots/.config/zsh/profile/profile/env.zsh index 467e5b7..205779e 100644 --- a/dots/.config/zsh/profile/profile/env.zsh +++ b/dots/.config/zsh/profile/profile/env.zsh @@ -8,10 +8,6 @@ export ZSH_HIGHLIGHT_MAXLENGTH=10000 export ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=2 export ZSH_AUTOSUGGEST_STRATEGY=(history completion) -### Autojump ### -source "${XDG_DATA_HOME}/autojump/etc/profile.d/autojump.sh" -export PATH="${PATH}:${XDG_DATA_HOME}/autojump/bin" - ### FZF ### function zvm_after_init() { [[ -r "${XDG_CONFIG_HOME}/fzf/fzf.zsh" ]] && source "${XDG_CONFIG_HOME}/fzf/fzf.zsh"