diff options
author | xyz <gky44px1999@gmail.com> | 2021-11-06 14:31:33 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-11-06 14:31:33 -0700 |
commit | c9f228106d43a3d4cf08d7fa10eba0d6521d6d01 (patch) | |
tree | abc3b80c70827189aa34891756746cb644fdc50f /home/xyz/.bashrc | |
parent | 1429d9bdf446c2d6272925a4dc029215a24ea81b (diff) |
zoxide eval use --no-aliases
Diffstat (limited to 'home/xyz/.bashrc')
-rw-r--r-- | home/xyz/.bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 070f969c..757b0b66 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -80,7 +80,8 @@ alias zqi='zoxide query -i' #alias pactree='pactree -c' #eval "$(zoxide init posix --hook prompt --no-aliases)" -eval "$(zoxide init bash)" +# if no --no-aliases, when tab complete a dir name contain spaces, bash will not escape spaces, don't know why, maybe bug? +eval "$(zoxide init bash --no-aliases)" z () { __zoxide_z "$@" && l |