Stripping back the ivy
Jun. 26th, 2016 09:03 pmA few weeks ago, I decided to add something to one of my usual bash aliases to automatically change iTerm2's profile for different machines. In doing so I noticed a whole load of stale code in my
After a couple of passes I was able to half the size of the script and dump a corresponding number of stale aliases and useless clutter functions whose purposes have long past. I'm not sure whether any of this improve the performance of my environment — fortunately computers have got faster more quickly than my configuration has bloated — but it may at least make it slightly more maintainable.
bash_profile, some of it for machines we decomissioned over a decade ago with other sections setting environment variables for a whole range of obsolete applications.After a couple of passes I was able to half the size of the script and dump a corresponding number of stale aliases and useless clutter functions whose purposes have long past. I'm not sure whether any of this improve the performance of my environment — fortunately computers have got faster more quickly than my configuration has bloated — but it may at least make it slightly more maintainable.