From 7b4c01e9470bdf066aaafcfc911b8aa927d1b690 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Mar 2016 13:28:44 -0800 Subject: [zsh] replace bash with zsh. Add configuration files, delete bash config files, and update documentation. Closes #22 #19 --- zshenv | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'zshenv') diff --git a/zshenv b/zshenv index f387203..0d7c3aa 100644 --- a/zshenv +++ b/zshenv @@ -1,7 +1,26 @@ -source ~/.env +export EDITOR="emacsclient -a ''" +export HISTFILE= +export LANG="en_US.UTF-8" +export LC_ALL="$LANG" +export LC_CTYPE="$LANG" +export PAGER="less" +export TZ=America/Los_Angeles +export GOPATH="${HOME}/gocode" -# enable auto completion - This is stupid, this should be in .zshrc +# FIXME enable auto completion - This is stupid, this should be in .zshrc autoload -U compinit compinit -C -source ~/.bash_local +# this is for local stuff +[ -f ~/.zshenv_local ] && source ~/.zshenv_local + +# build the PATH +path=( + "$HOME/bin" + "$HOME/gocode/bin" + "$HOME/src/source/dist" + "/opt/twitter/bin" + "/opt/twitter/opt/go/libexec/bin" + "/Applications/Racket v6.3/bin/" + $path +) -- cgit 1.4.1