mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	Updated the PROMT.
This commit is contained in:
		
							parent
							
								
									0e2d289fff
								
							
						
					
					
						commit
						17c6c03760
					
				@ -1,11 +1,11 @@
 | 
			
		||||
# Comment 
 | 
			
		||||
# Simple theme based on my old zsh settings.
 | 
			
		||||
 | 
			
		||||
function get_host {
 | 
			
		||||
	echo '@'`hostname`''
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
RPROMPT='%~$(git_prompt_info)$(get_host)' 
 | 
			
		||||
export PS1='> '
 | 
			
		||||
PROMPT='> '
 | 
			
		||||
RPROMPT='%~$(git_prompt_info)$(get_host)'
 | 
			
		||||
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_PREFIX="("
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user