mirror of
				https://github.com/akelge/vim
				synced 2025-11-04 07:24:23 +00:00 
			
		
		
		
	Changed prompt
Changed lesspipe Unexport all variables
This commit is contained in:
		@ -1,4 +1,4 @@
 | 
				
			|||||||
setopt ALL_EXPORT
 | 
					#setopt ALL_EXPORT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
setopt ALWAYS_TO_END
 | 
					setopt ALWAYS_TO_END
 | 
				
			||||||
setopt APPEND_HISTORY
 | 
					setopt APPEND_HISTORY
 | 
				
			||||||
 | 
				
			|||||||
@ -26,7 +26,7 @@ EDITOR=vim
 | 
				
			|||||||
VISUAL=vim
 | 
					VISUAL=vim
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Hack for svn
 | 
					# Hack for svn
 | 
				
			||||||
# export SVN_EDITOR=${VISUAL}
 | 
					export SVN_EDITOR=${VISUAL}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Set umask to collaborative mode
 | 
					# Set umask to collaborative mode
 | 
				
			||||||
umask 002
 | 
					umask 002
 | 
				
			||||||
 | 
				
			|||||||
@ -1,11 +1,6 @@
 | 
				
			|||||||
#######################################################################################
 | 
					#######################################################################################
 | 
				
			||||||
# Setup LESS
 | 
					# Setup LESS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for lp in lesspipe lesspipe.sh; do
 | 
					 | 
				
			||||||
    LESSPIPE=`which $lp`
 | 
					 | 
				
			||||||
    [ $? -eq 0 ] && eval `$LESSPIPE`
 | 
					 | 
				
			||||||
done
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## make less colourful
 | 
					## make less colourful
 | 
				
			||||||
LESS_TERMCAP_mb=$'\E[01;34m'     # begin blinking
 | 
					LESS_TERMCAP_mb=$'\E[01;34m'     # begin blinking
 | 
				
			||||||
LESS_TERMCAP_md=$'\E[01;36m'     # begin bold
 | 
					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
 | 
					LESSCHARSET=utf-8
 | 
				
			||||||
READNULLCMD=/usr/bin/less
 | 
					READNULLCMD=/usr/bin/less
 | 
				
			||||||
PAGER=/usr/bin/less
 | 
					PAGER=/usr/bin/less
 | 
				
			||||||
 | 
					LESSOPEN="|lesspipe.sh %s"; export LESSOPEN
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export LESS
 | 
					export LESS
 | 
				
			||||||
#  vim: set ts=4 sw=4 tw=0 ft=zsh : 
 | 
					#  vim: set ts=4 sw=4 tw=0 ft=zsh : 
 | 
				
			||||||
 | 
				
			|||||||
@ -4,7 +4,7 @@ if [ ${TERM[0,5]} = "xterm" ] || [ ${TERM} = "rxvt" ]; then
 | 
				
			|||||||
  # We are on xterminal
 | 
					  # We are on xterminal
 | 
				
			||||||
  W="%{]2;::: %n at %m in %. :::%}"
 | 
					  W="%{]2;::: %n at %m in %. :::%}"
 | 
				
			||||||
  I="%{]1;%m::%.%}"
 | 
					  I="%{]1;%m::%.%}"
 | 
				
			||||||
  L="%B${PR_BLUE}%3~ %#%b "
 | 
					  L="%B%F{blue}%3~ %>#%f "
 | 
				
			||||||
  PS1="$W$I$L"
 | 
					  PS1="$W$I$L"
 | 
				
			||||||
  unset W I L
 | 
					  unset W I L
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user