mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-23 13:17:39 +00:00
zsh: better local directory completion (#787)
This commit is contained in:
parent
5d8a7ea7b2
commit
208bb6375e
@ -98,7 +98,8 @@ if [[ -o zle ]]; then
|
|||||||
|
|
||||||
if [[ "{{ "${#words[@]}" }}" -eq 2 ]]; then
|
if [[ "{{ "${#words[@]}" }}" -eq 2 ]]; then
|
||||||
# Show completions for local directories.
|
# Show completions for local directories.
|
||||||
_files -/
|
_cd -/
|
||||||
|
|
||||||
elif [[ "${words[-1]}" == '' ]]; then
|
elif [[ "${words[-1]}" == '' ]]; then
|
||||||
# Show completions for Space-Tab.
|
# Show completions for Space-Tab.
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
Loading…
Reference in New Issue
Block a user