Re:Start all of your commands with a comma (2009)
by quasarj on Thursday June 23, 2022 @04:48PM
(#31854963)
My keyboard came with a tab key, so I don't worry about my commands having short names.
[ Parent
| on HN ]
Re:Start all of your commands with a comma (2009)
by keybored on Thursday June 23, 2022 @05:07PM
(#31855169)
Until you have five commands which all use the prefix `sort-incoming-` and then three commands named `sort-incoming-hourly` and `sort-incoming-monthly` etc.
Re:Start all of your commands with a comma (2009)
by layer8 on Thursday June 23, 2022 @05:25PM
(#31855342)
It would be nice to have camel-case completion in the shell, i.e. have “SIH” be completed to “SortIncomingHourly” and “SIM” to “SortIncomingMonthly”, etc. (only for upper-case characters). That way one could get more mileage out of the possible character combinations.
Re:Start all of your commands with a comma (2009)
by andra_nl on Thursday June 23, 2022 @06:43PM
(#31856015)
Well, not exactly tab completion, but I have `fzf`[0] tied to my history search.
That allows me to type `soriloco`, punch ctrl+r and be prompted with `some ridiculously long command` (if, of course, I've run it before).
Combined with infinite history this trick has saved me a bunch of typing and even proper remembering. :P