From 16de7dd91e094e2ff8bb0fe5add9c5074c6bde94 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 13 Dec 2021 23:11:53 +0800 Subject: Migrate autojump to z --- .zshrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 7a8f7a4..6348699 100644 --- a/.zshrc +++ b/.zshrc @@ -21,14 +21,12 @@ HISTFILE=~/.zsh_history source $HOME/.path source $HOME/.env -[[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh +[[ -r /usr/share/z/z.sh ]] && source /usr/share/z/z.sh +[[ -r /usr/local/share/z/z.sh ]] && source /usr/local/share/z/z.sh # System Specific case `uname` in Darwin) - # commands for macOS - [ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh - # Alias alias ls='ls -G' alias ll='ls -lhG' -- cgit v1.2.3