How can I configure git to recognise the shortest unique prefix of a command, like git does with SHA hashes, or like mercurial does?
e.g. git ad
should be recognised as git add
, or git conf
as git config
.
Clearly I could do this by adding a bunch of aliases, but that's far too brittle in the face of new commands, and tedious too.
Is there some built in functionality for doing this, or a plugin?
I've already got satisfactory text editor integration, and I'm not interested in aliases.