What I Learned Today
This ThoughtBot article on building your OS X developer environment leaves me conflicted. It’s a good article on a good topic, but the dislike of MacPorts baffles me to no end. I am glad to learn about Joe Ferris’s config files, though. There’s some good stuff in there.
I am loving my prompt with the current Ruby version in it:
ruby_version() {
echo -n "/" && ruby -v 2> /dev/null | cut -d ' ' -f 2 ;
}
export PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]$(ruby_version " %s"):\[\033[01;34m\]\w\[\033[00m\]$(__git_ps1 "(%s)")\$ '
When you need 1.8.6, 1.8.7, and 1.9.1, this is awesome.
Published: