Skip to content

Can't suppress abbr expansion when executing command with no args #8423

Closed
@lilyball

Description

@lilyball

Version: fish, version 3.3.1

I have an abbreviation abbr -a -g -- ls exa. If I want to run e.g. ls -a by itself, I can press Ctrl+Space to insert a space without expanding the abbreviation. Unfortunately there's no equivalent for "execute without expanding abbreviation". Even adding the space (e.g ls ) still expands it when I execute.

I'm also not sure if it's even possible for me to write my own binding here. The binding for \r is just execute, which implies that execution implicitly expands abbreviations (whereas if it were expand-abbr execute then I could have a binding to execute that skips the abbreviations).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions