Skip to content

Bash tab completion sometimes adds extra slash when displaying suggestions #25

@astralarya

Description

@astralarya

This is a minor bash specific bug in tab completion.

If you make a bookmark with the same name as the directory, for example:

mara@andromeda:~/bin/android-sdk-linux/extras$ to -b extras

and then navigate one directory up

mara@andromeda:~/bin/android-sdk-linux/extras$ cd ..

and then begin tab completion off of that bookmark it adds an extra slash

mara@andromeda:~/bin/android-sdk-linux$ to extras/
android// google// 

This is a minor bug, as the completion itself works fine. It is just the displayed suggestions that have extra slashes. This error continues into all suggestions in subdirectories:

mara@andromeda:~/bin/android-sdk-linux$ to extras/android/support/
samples// v13//     v4//      v7//

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions