Tag Archives: bash

Fixing GrowlMail in 10.6.4 (Mail 4.3)

Another OS X release, another broken GrowlMail bundle. I did a post just like this for 10.6.2. Check it out if you want more background on why this occurs. Easy Fix Download a pre-patched GrowlMail.bundle and drop it in your ~/Library/Mail/Bundles/ directory1. If you want it available to multiple users on your system, use /Library/Mail/Bundles/. [...]

Bash Productivity Enhancers

Bash is an extremely powerful shell, but its shortcuts are not readily apparent. Here are a few shortcuts and tips that I’ve noticed many (already proficient) bash users are not aware of. You can also check out Improved Bash History and More Useful Bash/Terminal Settings for more ideas for improving your bash productivity. Bash Navigation [...]

Fixing GrowlMail for Mail 4.2

Update: Fix for 10.6.4 and Mail 4.3 Lately Apple has been revving the version number (and plugin compatibility UUID) of Mail.app with every version of 10.6. This breaks bundles like GrowlMail even when they are still compatible. The easy fix (although not necessarily the best if it turns out an update is required!) is to [...]

Find A Matching Certificate And Key Pair

If you have a list of keys and SSL certs and don’t know which cert belongs with which key, here’s a script for you. It’s not efficient (nested for loop!), but it gets the job done quickly.1 #!/bin/bash for i in `ls *.key` do key_mod=`openssl rsa -noout -in $i -modulus` for j in `ls *.cer` [...]

More Useful Bash/Terminal Settings

A few more tricks to make your bash environment better. As always, add them to your ~/.profile or ~/.bash_profile to enable. Disable the pagination of long lists when ambiguously tab completing. bind ‘set page-completions off’ Increase max returned items before being prompted. (ie, “Display all 380 possibilities? (y or n”). You can set the number [...]

Improved Bash History

If you use multiple shells simultaneously (in my case with Terminal.app on OS X) you’ve undoubtedly noticed that the history of the last closed shell clobbers any commands you might have executed in others. This makes it difficult to use reverse-i-search to find commands you recall using. However, with a few modifications to your bash [...]