From 506ddcf190f3b7eb94bdcf93c6b9c96aa3e69e50 Mon Sep 17 00:00:00 2001 From: Carlos Cardoso Date: Sat, 21 Dec 2013 23:12:27 -0200 Subject: [PATCH 1/2] Updated zshrc template for mac --- templates/zshrc-mac.zsh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/zshrc-mac.zsh b/templates/zshrc-mac.zsh index 961c00908..a34c6ba99 100644 --- a/templates/zshrc-mac.zsh +++ b/templates/zshrc-mac.zsh @@ -36,9 +36,14 @@ DISABLE_VENV_CD="1" plugins=(git postgres tmux python vim-override virtualenvwrapper) # User configuration -export PATH=$HOME/bin:/usr/local/bin:$PATH +if [ -e $HOME/bin ]; then export PATH="$HOME/bin:$PATH"; fi +if [ -e /usr/local/bin ]; then export PATH="/usr/local/bin:$PATH"; fi export EDITOR='vim' +# Language configuration +if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi +if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi + # Aliases alias ta='tmux attach -t' alias tl='tmux list-session' From 00b58b872a354d6c8b4c4a6777f4582d4bb59db6 Mon Sep 17 00:00:00 2001 From: Carlos Cardoso Date: Sat, 21 Dec 2013 23:15:29 -0200 Subject: [PATCH 2/2] Updated linux template. --- templates/zshrc-linux.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/zshrc-linux.zsh b/templates/zshrc-linux.zsh index e3caafa37..4fb6b37fb 100644 --- a/templates/zshrc-linux.zsh +++ b/templates/zshrc-linux.zsh @@ -40,6 +40,7 @@ if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi if [ -e $HOME/bin ]; then export PATH="$HOME/bin:$PATH"; fi +if [ -e $HOME/appengine ]; then export PATH="$HOME/appengine:$PATH"; fi if [ -e $HOME/.cabal/bin ]; then export PATH="$HOME/.cabal/bin:$PATH"; fi [ "$TERM" = "xterm" ] && TERM="xterm-256color"