Many command line and interactive tools feature abbreviations. For example, typing just rails s instead of rails server. Well Ruby has an abbreviations library as part of its standard library that, given a set of strings, will produce a set of unique abbreviations for each of the input strings. You can easily implement such features with just a few extra lines of code.
Read about abbreviations here.