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
fish, version 2.7.1
It would be best if
abbrwould expand after sudo. So typing something likesudo mv<SPACE>would expand tosudo mv -i. Maybe a way to implement that would be hardcodingabbrto work specifically after the sudo command too...Currently, I have a
functionthat wraps other functions so they may work with sudo. Butabbris much safer in that you see what additional arguments are being given.Another blocking issue for my own reference #3233