Open alber70g opened 2 years ago
I found out that ctrl+z will undo the command. Unfortunately not cmd+z.
But it still doesn't undo e.g. gco
into my own gco
command
Am I correct in thinking you are actually referring to abbreviations and not filename/argument completions? If so, the plugin only adds abbreviations when initially installed, so you can just run abbr -e gco
to delete that particular abbreviation. I don't think it will come back until an upgrade or reinstall.
You can also type command gco
to run a binary and ignore functions with the same name, but it's not exactly ergonomic.
I have some of my own commands that I don't want to be completed. However, sometimes it'd be nice to use.
Is there a way to "undo" the completion? Like auto-correct works in document editors?
gco
<space>
gco
withgit checkout
<cmd> + <z>
git checkout
withgco