aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-01-01 09:25:57 +0800
committerGuangxiong Lin <[email protected]>2022-01-01 09:25:57 +0800
commita257aa0ef8f6b76310b217a9edd7936be8fa2195 (patch)
treeb669302cfb5615ce39ee9f3c61a92d7cb94c4c91
parenteda47c4aefd2175cc7e19a7b13b9bb17ed654770 (diff)
downloaddotfiles-a257aa0ef8f6b76310b217a9edd7936be8fa2195.tar.gz
dotfiles-a257aa0ef8f6b76310b217a9edd7936be8fa2195.tar.bz2
dotfiles-a257aa0ef8f6b76310b217a9edd7936be8fa2195.zip
Add z config in macos
-rw-r--r--.env3
1 files changed, 3 insertions, 0 deletions
diff --git a/.env b/.env
index f079253..1566f0e 100644
--- a/.env
+++ b/.env
@@ -8,6 +8,9 @@ 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'
export FZF_DEFAULT_COMMAND='find . -type f'