Add Go and Mercurial stuff

git-svn-id: http://photonzero.com/dotfiles/trunk@36 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
michener 2010-03-05 21:20:34 +00:00
parent 10c20eeb99
commit 5505a82fc3
4 changed files with 28 additions and 0 deletions

11
.bashrc
View file

@ -22,6 +22,17 @@ fi
PERL5LIB=$HOME/local/lib64/perl5/site_perl/5.8.8/
export GOROOT=$HOME/local/go
export GOARCH=amd64
export GOOS=linux
case `uname` in
Darwin)
export GOOS=darwin
;;
FreeBSD)
export GOOS=freebsd
;;
esac
# set a fancy prompt (non-color, unless we know we "want" color)
#case "$TERM" in
#xterm-color)

4
.hgrc
View file

@ -1,2 +1,6 @@
[ui]
username = Barak Michener <me@barakmich.com>
[extensions]
hgext.bookmarks =
hggit =

View file

@ -19,3 +19,4 @@ autocmd FileType python set ts=4
autocmd FileType python set softtabstop=4
autocmd FileType python set shiftwidth=4
augroup END
au BufRead,BufNewFile *.go set filetype=go

12
.zshrc
View file

@ -5,6 +5,18 @@ setopt extended_glob
bindkey -e
#ZLS_COLORS=$LS_COLORS
export GOROOT=$HOME/local/go
export GOARCH=amd64
export GOOS=linux
case `uname` in
Darwin)
export GOOS=darwin
;;
FreeBSD)
export GOOS=freebsd
;;
esac
setopt prompt_subst