sawyl: (A self portrait)
A 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 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.
sawyl: (Default)
Another bit of hackery, this time OS X related. After years of keeping separate branches of my bash initialisation scripts, I've finally merged everything together to create a single unified environment. The only minor things that caught me out were a stale xhosts - command left over from days when it paid to be paranoid, a bit of code that reset TMPDIR in a way that broke Aquamacs' client-server mode, and the need to set the CLICOLOR to get colour listings with ls.

With a single set of scripts and functions and aliases to work on I can finally get started edging towards version 2.0 of my environment, stripping out support for a whole load of legacy OSes: Unicos, HP-UX, Solaris, etc — the list of obsolete quirky workarounds just seems to go on and on...

Profile

sawyl: (Default)
sawyl

August 2018

S M T W T F S
   123 4
5 6 7 8910 11
12131415161718
192021222324 25
262728293031 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 5th, 2025 10:54 am
Powered by Dreamwidth Studios