Comment Comment by cool-RR The most useful script I wrote is one I call `posh`. It shorten a file path by using environment variables. Example: $ posh /home/ramrachum/Dropbox/notes.txt $DX/notes.txt Of course, it only becomes useful when you define a bunch of environment variables for the paths that you use often.I use this a lot in all of my scripts. Basically whenever any of my script prints a path, it passes it through `posh`. parent cool-RR 1 year ago
I use this a lot in all of my scripts. Basically whenever any of my script prints a path, it passes it through `posh`.