diff --git a/templates/zshrc-linux.zsh b/templates/zshrc-linux.zsh index 2d63750da..71bfd99a2 100644 --- a/templates/zshrc-linux.zsh +++ b/templates/zshrc-linux.zsh @@ -35,16 +35,20 @@ DISABLE_VENV_CD="1" # Example format: plugins=(rails git textmate ruby lighthouse) plugins=(git gitfast tmux debian python virtualenvwrapper) -# Customize to your needs... -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/.local/bin ]; then export PATH="$HOME/.local/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 +# +if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi +if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi [ "$TERM" = "xterm" ] && TERM="xterm-256color" source $ZSH/oh-my-zsh.sh + +# Enviroment variables overwrite +export EDITOR='vim' +export LESS='-RX' + unsetopt correctall diff --git a/templates/zshrc-mac.zsh b/templates/zshrc-mac.zsh index 70bdd4312..176335ce6 100644 --- a/templates/zshrc-mac.zsh +++ b/templates/zshrc-mac.zsh @@ -38,7 +38,6 @@ plugins=(git gitfast postgres tmux python vim-override virtualenvwrapper) # User configuration 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 @@ -48,4 +47,9 @@ if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi alias bu='brew update && brew upgrade' source $ZSH/oh-my-zsh.sh + +# Enviroment variables overwrite +export EDITOR='vim' +export LESS='-RX' + unsetopt correctall