diff options
author | Guangxiong Lin <[email protected]> | 2022-01-04 10:28:15 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-01-04 10:28:15 +0800 |
commit | bf00f3f3e3a240594c08bc3599103fe7680acbcf (patch) | |
tree | 6be7084bac21f58ca1c635f9f61444801d0db816 | |
parent | 5d0a5c68c6f4b1b222a07871aebc503c357ec3ad (diff) | |
download | dotfiles-bf00f3f3e3a240594c08bc3599103fe7680acbcf.tar.gz dotfiles-bf00f3f3e3a240594c08bc3599103fe7680acbcf.tar.bz2 dotfiles-bf00f3f3e3a240594c08bc3599103fe7680acbcf.zip |
Update z.sh config on macOS
-rw-r--r-- | .env | 5 | ||||
-rw-r--r-- | .zshrc | 2 |
2 files changed, 2 insertions, 5 deletions
@@ -8,10 +8,7 @@ export TERMINAL=$TERMINAL [ -f /usr/bin/qutebrowser ] && export BROWSER='qutebrowser' -[ -f /usr/local/etc/profile.d/z.sh ] \ - && source /usr/local/etc/profile.d/z.sh \ - && export _Z_CMD='j' -[ -f /usr/share/z/z.sh -o -f /usr/local/share/z/z.sh ] && export _Z_CMD='j' +[ -f /usr/share/z/z.sh -o -f /usr/local/etc/profile.d/z.sh ] && export _Z_CMD='j' export FZF_DEFAULT_COMMAND='find . -type f' if [ -f /usr/bin/fd ];then @@ -22,7 +22,7 @@ source $HOME/.path source $HOME/.env [[ -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 +[[ -r /usr/local/etc/profile.d/z.sh ]] && source /usr/local/share/z/z.sh # System Specific case `uname` in |