Skip to content

complete 'cd ..' does not add '/' in 3.6.0  #9487

@Susensio

Description

@Susensio

I'm running fish 3.6.0.
In previous versions, complete -C 'cd ..' yielded ../.
After updating to 3.6.0, it no longer works.

This is mildly inconvenient, as I've developed a muscle memory of <tab>ing in between folders instead of typing directly /. That way, I can either write a partial name or full name and / gets added automatically.
Also this is incongruent, because parent folder is treated different from other folders:

This works:

folder<tab>subfolder

This does not:

..<tab>folder

Strangely, complete -C '..' yields perl5.36.0 ???
This may be related to #9220

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions