diff options
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 |