i write these so i can write the code
GUI file opener: OS X provides a default open
program to open files in
their default MIME handler. Lots of terminal utilities only account for
xdg-open
; we can fix these instances (despite the different API) by
symlinking xdg-open
to open
sudo ln -sf /usr/bin/open /usr/local/bin/xdg-open
Disable Speaker/Beep: The following will blacklist the PC speaker kernel module.
if [ ! -f /etc/modprobe.d/nobeep.conf ]; then
echo 'blacklist pcspkr' | sudo tee /etc/modprobe.d/nobeep.conf
fi