while the code is mostly from cowboy's dotfiles, there seems to be an issue with the file when interpreted on ubuntu and on dreamhost.
-bash: /home/travi/.dotfiles/git/functions.sh: line 22: unexpected EOF while looking for matching `)'
-bash: /home/travi/.dotfiles/git/functions.sh: line 39: syntax error: unexpected end of file
while the code is mostly from cowboy's dotfiles, there seems to be an issue with the file when interpreted on ubuntu and on dreamhost.