diff --git a/zsh/zsh.d/00-options b/zsh/zsh.d/00-options index 7c1534e..c837672 100644 --- a/zsh/zsh.d/00-options +++ b/zsh/zsh.d/00-options @@ -1,4 +1,4 @@ -setopt ALL_EXPORT +#setopt ALL_EXPORT setopt ALWAYS_TO_END setopt APPEND_HISTORY diff --git a/zsh/zsh.d/10-environment b/zsh/zsh.d/10-environment index 804560d..e0304c1 100644 --- a/zsh/zsh.d/10-environment +++ b/zsh/zsh.d/10-environment @@ -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 diff --git a/zsh/zsh.d/30-less b/zsh/zsh.d/30-less index 57ebfd4..597203b 100644 --- a/zsh/zsh.d/30-less +++ b/zsh/zsh.d/30-less @@ -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 : diff --git a/zsh/zsh.d/30-prompt b/zsh/zsh.d/30-prompt index fa8e3b3..0200b05 100644 --- a/zsh/zsh.d/30-prompt +++ b/zsh/zsh.d/30-prompt @@ -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