aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-12-13 23:11:53 +0800
committerGuangxiong Lin <[email protected]>2021-12-13 23:11:53 +0800
commit16de7dd91e094e2ff8bb0fe5add9c5074c6bde94 (patch)
treeaa85246eb32c485c4a1b54741f03940e3d0bb97c /.zshrc
parent8becf822b792ad5456084c6ddf51f0c70084434d (diff)
downloaddotfiles-16de7dd91e094e2ff8bb0fe5add9c5074c6bde94.tar.gz
dotfiles-16de7dd91e094e2ff8bb0fe5add9c5074c6bde94.tar.bz2
dotfiles-16de7dd91e094e2ff8bb0fe5add9c5074c6bde94.zip
Migrate autojump to z
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc6
1 files changed, 2 insertions, 4 deletions
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'