Archive

Archive for October, 2008

bash_completion blissness on Mac OS X Leopard

October 27th, 2008 Dante Regis 3 comments

Debian-like bash_completion! I missed you! But no more!

To install it just do:

sudo port install bash-completion
echo "source /opt/local/etc/bash_completion" >> ~/.bash_profile
chmod +x ~/.bash_profile

EDIT: You must have MacPorts installed to run the first command. http://www.macports.org  Tip from KA, on the commets.

If you don’t know yet what is bash_completion, it is  a feature for shells to autocomplete commands. Example: You are on a git repository. You type git fe and press TAB, bash_completion will fill “fetch” for you. If you have branches, they are autocompleted too. GNU Tar only shows files compatible with the filters you selected. So if you tar xvzf my-softw TAB, it will complete only filenames that are on tar.gz or tgz format and that starts with the string you already typed.

It is heaven again. ;)

Categories: Uncategorized Tags:

Installing Sphinx on OS X Leopard

October 25th, 2008 Dante Regis No comments

Clinton Nixon has written an excelent post on the procedure. He was having problems trying to compile Sphinx on Leopard and found that 2 libraries were outdated on his OS X install: iconv and expat.

After installing both, he managed to get sphinx running.

Follow the instructions on his post to find out more.

http://www.viget.com/extend/installing-sphinx-on-os-x-leopard/

Categories: Uncategorized Tags: