Skip to content

Implement global abbreviations #5003

@admirabilis

Description

@admirabilis

fish, version 2.7.1

It would be best if abbr would expand after sudo. So typing something like sudo mv<SPACE> would expand to sudo mv -i . Maybe a way to implement that would be hardcoding abbr to work specifically after the sudo command too...

Currently, I have a function that wraps other functions so they may work with sudo. But abbr is much safer in that you see what additional arguments are being given.

Another blocking issue for my own reference #3233

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions