Changed prompt

Changed lesspipe
Unexport all variables
This commit is contained in:
Andrea Mistrali 2013-01-04 19:34:56 +00:00
parent 0923914a13
commit 4f8dc5f0bb
4 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,4 @@
setopt ALL_EXPORT
#setopt ALL_EXPORT
setopt ALWAYS_TO_END
setopt APPEND_HISTORY

View File

@ -26,7 +26,7 @@ EDITOR=vim
VISUAL=vim
#
# Hack for svn
# export SVN_EDITOR=${VISUAL}
export SVN_EDITOR=${VISUAL}
# Set umask to collaborative mode
umask 002

View File

@ -1,11 +1,6 @@
#######################################################################################
# Setup LESS
for lp in lesspipe lesspipe.sh; do
LESSPIPE=`which $lp`
[ $? -eq 0 ] && eval `$LESSPIPE`
done
## make less colourful
LESS_TERMCAP_mb=$'\E[01;34m' # begin blinking
LESS_TERMCAP_md=$'\E[01;36m' # begin bold
@ -19,6 +14,7 @@ LESS="-c -x4 -R -MM -PMFile\:?f%f:STDIN. ?BSize\:?B%B:Unk.?B\:?pb%pb\%:Unk.?B\:%
LESSCHARSET=utf-8
READNULLCMD=/usr/bin/less
PAGER=/usr/bin/less
LESSOPEN="|lesspipe.sh %s"; export LESSOPEN
export LESS
# vim: set ts=4 sw=4 tw=0 ft=zsh :

View File

@ -4,7 +4,7 @@ if [ ${TERM[0,5]} = "xterm" ] || [ ${TERM} = "rxvt" ]; then
# We are on xterminal
W="%{]2;::: %n at %m in %. :::%}"
I="%{]1;%m::%.%}"
L="%B${PR_BLUE}%3~ %#%b "
L="%B%F{blue}%3~ %>#%f "
PS1="$W$I$L"
unset W I L