aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.env2
-rw-r--r--.zshrc6
2 files changed, 4 insertions, 4 deletions
diff --git a/.env b/.env
index a404b39..a41f106 100644
--- a/.env
+++ b/.env
@@ -6,6 +6,8 @@ if [[ $TERM =~ 'st' ]]; then
fi
export TERMINAL=$TERMINAL
+[ -f /usr/share/z/z.sh -o -f /usr/local/share/z/z.sh ] && export _Z_CMD='j'
+
export FZF_DEFAULT_COMMAND='find . -type f'
if [ -f /usr/bin/fd ];then
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
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'