Skip to content

Zsh tab completion shows full completion instead of just current directory level #26

@astralarya

Description

@astralarya

Zsh tab completion shows the full completion for a bookmark/subdirectory instead of just the current subdirectory level.

mara@andromeda ~ % to android/add-ons/
android/add-ons/         android/platforms/       android/sd-card/         android/temp/                                   
android/docs/            android/platform-tools/  android/sources/         android/tools/                                  
android/extras/          android/samples/         android/system-images/ 

The desired behaviour would be similar to the cd command:

mara@andromeda ~/bin % cd android-sdk-linux/add-ons/
Completing local directory
add-ons/         extras/          platform-tools/  sd-card/         system-images/   tools/                                         
docs/            platforms/       samples/         sources/         temp/ 

Note how only the current directory level is displayed in suggested completions.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions