mirror of
				https://github.com/akelge/vim
				synced 2025-11-04 07:24:23 +00:00 
			
		
		
		
	New ZSH folder (3)
This commit is contained in:
		
							
								
								
									
										11
									
								
								zsh/zsh.d/30-prompt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								zsh/zsh.d/30-prompt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
#######################################################################################
 | 
			
		||||
# Setup PROMPT
 | 
			
		||||
if [ ${TERM[0,5]} = "xterm" ] || [ ${TERM} = "rxvt" ]; then
 | 
			
		||||
  # We are on xterminal
 | 
			
		||||
  PS1="%{]2;%n@%m:%.%}%{]1; %m:%. %}%B<%l> %~ %#%b "
 | 
			
		||||
else
 | 
			
		||||
  # We are not on xterminal
 | 
			
		||||
  PS1="%B[%l] %n@%m:%~ %#%b "
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
#  vim: set ts=4 sw=4 tw=0 ft=zsh : 
 | 
			
		||||
		Reference in New Issue
	
	Block a user