mirror of
https://github.com/Hopiu/zoxide.git
synced 2026-05-23 14:25:52 +00:00
zsh: better local directory completion (#787)
This commit is contained in:
parent
5d8a7ea7b2
commit
208bb6375e
1 changed files with 2 additions and 1 deletions
|
|
@ -98,7 +98,8 @@ if [[ -o zle ]]; then
|
|||
|
||||
if [[ "{{ "${#words[@]}" }}" -eq 2 ]]; then
|
||||
# Show completions for local directories.
|
||||
_files -/
|
||||
_cd -/
|
||||
|
||||
elif [[ "${words[-1]}" == '' ]]; then
|
||||
# Show completions for Space-Tab.
|
||||
# shellcheck disable=SC2086
|
||||
|
|
|
|||
Loading…
Reference in a new issue