Zsh Shell rocks! Try this Bash alternative!

In contrast to the wide-spread Bash Shell which is licensed under the viral copyleft GPL, the Zsh Shell is licensed under a MIT/BSD-like license. Also the Z Shell has more advanced features than the Bash and a better overall usability.

For a quick an convenient start, put these settings:

## Go completion
# gc
prefixes=(5 6 8)
for p in $prefixes; do
compctl -g "*.${p}" ${p}l
compctl -g "*.go" ${p}g

# standard go tools
compctl -g "*.go" gofmt

# gccgo
compctl -g "*.go" gccgo

## dev variables
export JAVA_HOME=/Library/Java/Home
export PATH=/opt/local/bin:/opt/local/sbin:$PATH

# Lines configured by zsh-newuser-install
setopt appendhistory autocd beep extendedglob nomatch notify
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/Users/alex/.zshrc'

autoload -Uz compinit
# End of lines added by compinstall

autoload -U colors && colors
PS1="%m:%{$fg[green]%}%~ %{$reset_color%}% "
export CLICOLOR=1

## external file for aliases
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases

into your ~/.zshrc file, which I'm also using on my Mac.

I was happily using this Bash alternative a few years ago before Linux screwed up my backup...