8000 Partial completion · Issue #920 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Partial completion #920

@mlopes

Description

@mlopes

Hi,

I would like to suggest the following enhancement to the auto-completion process.
When there's a multi word completion suggestion, based on history, frequently one needs part of the command and more often than not, the end part needs to be replaced.

My suggestion consists in adding an extra auto-complete shortcut that only completes until the next white space:

Ex:

when typing "l" I get the following suggestion:

ls -lha /var/www

pressing the new shortcut key would produce "ls" and keep the remainder as a suggestion, pressing it again wound produce "ls -lha" and keep the remainder as a suggestion.

Cheers,
Marco Lopes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0