Skip to content

man xyz stays xy if directory with same name present #420

@jidanni

Description

@jidanni
$ man apti<TAB>

correctly becomes

$ man aptitude
aptitude aptitude-create-state-bundle aptitude-curses aptitude-run-state-bundle

However

$ mkdir /tmp/aptitude
$ cd /tmp/
$ man apti<TAB>
aptitude/ aptitude/ aptitude-create-state-bundle aptitude-curses aptitude-run-state-bundle

  1. Does not at least complete to "aptitude", but instead stays "apti".
  2. Gives two "aptitude/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions