summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-12-14 18:35:52 -0800
committerxyz <gky44px1999@gmail.com>2021-12-14 18:35:52 -0800
commite3d27f1333ac4da7b7729d75020fb349ab7125c7 (patch)
tree253c06f4f11934b2d8bbc96ade427f3adc90ac5b /home
parentde6201d8f1cf0d6a876da24a8a82cca5a2750bf3 (diff)
zoxide `_ZO_ECHO` env no effect when in tty
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.bashrc4
-rw-r--r--home/xyz/.profile1
2 files changed, 2 insertions, 3 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index 2997a44d..0bd95644 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -86,11 +86,11 @@ alias za='zoxide add'
eval "$(zoxide init bash --no-aliases)"
z () {
- __zoxide_z "$@" && l
+ __zoxide_z "$@" && l && echo "$PWD"
}
zi () {
- __zoxide_zi "$@" && l
+ __zoxide_zi "$@" && l && echo "$PWD"
}
# steal from fzf: https://github.com/junegunn/fzf/blob/master/shell/key-bindings.bash
diff --git a/home/xyz/.profile b/home/xyz/.profile
index b80eb4b4..7ac7405a 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -45,7 +45,6 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
export QT_QPA_PLATFORMTHEME=gtk2
#export QT_STYLE_OVERRIDE=kvantum
export SXHKD_SHELL=sh
-export _ZO_ECHO=1
# enable color for `tree` command, not forced
export CLICOLOR=1
# for pacdiff, without using aur neovim-drop-in or neovim-symlinks