disabled terminal cleanup on pager (less) exit

This commit is contained in:
Carlos Cardoso 2014-05-03 01:28:23 -03:00
commit 62e09457f0
2 changed files with 13 additions and 5 deletions

View file

@ -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

View file

@ -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