bash

pudge on 2002-08-14T02:19:59

I finally got sick of not having proper shell redirection, and set my Mac OS X box to use bash as my shell. Basically, I ran:

fink selfupdate fink update-all fink install bash

Then I just needed to set up .bash_profile and .bashrc (using source /sw/bin/init.sh instead of .csh for the fink init file), and set my prefs to use the right shell. For this, I ran:

sudo niutil -createprop / /users/pudge shell /sw/bin/bash

Then in Terminal.app I set it to use the default login for this user.


Bash?!?

Dom2 on 2002-08-14T10:36:30

You wanted proper redirection and you went for bash? What about zsh? You get way better globbing and completion with that, too.

ls /dev >dev.1 >dev.2

Also, you do get the extremely useful feature from csh of being able to do cmd >& output, which is undeniably useful (although it is convenient to have alternative redirections).

Still, if you must use bash, don't forget to check out bash programmable completion.

Re:Bash?!?

pudge on 2002-08-14T11:34:54

OR, I could just use what I happen to like best ...

Re:Bash?!?

Dom2 on 2002-08-14T12:03:39

Trouble is, that doesn't mean it's the best fit for you. Lots of people "like" windows, too...

-Dom

Re:Bash?!?

pudge on 2002-08-14T12:07:47

Actually, it means exactly that.

Man...

Purdy on 2002-08-14T13:02:06

I thought this was going to be an announcement for a party you're throwin' and inviting us all over... ;)