Pesky little scripts | Redowan’s Reflections by Redowan Delowar

All your scripts should start with a character as a prefix that doesn’t have any special meaning in the shell environment. Another requirement is that no other system command should start with your chosen character.

  • Brandon Rhodes

From Redowan, I picked up this habit of naming my personal small shell scripts starting with ,

But the plain old comma , is right there. You can start your script or alias names with a comma , and it’ll be golden.

My tab completion looks like this:

rednafi@air:~/canvas/rednafi.com
$ ,
,brclr                    ,clear-cache              ,docker-prune-containers  ,redis
,brpre                    ,docker-nuke              ,docker-prune-images      ,www

All my aliases start with , too so that they also appear in the list with the custom scripts. Fin!