Let's define two "overlapping" aliases (I'm using these via https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git)
alias g='git'
alias gsta='git stash save'
Current behavior
$ git stash save
Alias tip: g stash save
Preferred behavior
$ git stash save
Alias tip: gsta
gsta is 4 characters and g stash save is 12 characters, so gsta should be preferred.
Let's define two "overlapping" aliases (I'm using these via https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git)
Current behavior
Preferred behavior
gstais 4 characters andg stash saveis 12 characters, sogstashould be preferred.