mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			782 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			782 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| # Converted to zsh prompt theme by bash2zshprompt, written by <adam@spiers.net>
 | |
| 
 | |
| for code in 333 262 261 260 333 262 261 260 333 262 261 260; do
 | |
|   local varname=char_$code
 | |
|   : ${(P)varname=$(echo -n "\\0$code")}
 | |
| done
 | |
| 
 | |
| # Created by Jim Foltz <aa204@acorn.net>
 | |
| # Changed by Spidey 08/06
 | |
| prompt_magenta_setup () {
 | |
|   PS1="%{$fg_magenta$bg_magenta$bold_color%}$char_333$char_262$char_261$char_260%{$fg_white$bg_magenta$bold_color%}%n@%m%{$reset_color$fg_magenta$bg_grey%}$char_333$char_262$char_261$char_260%{$fg_white$bg_grey$bold_color%} %D{%a %b %d} %D{%I:%M:%S%P} $prompt_newline%{$fg_magenta$bg_grey$bold_color%}%~/%{$reset_color%} "
 | |
|   PS2="%{$fg_magenta$bg_grey%}$char_333$char_262$char_261$char_260%{$reset_color%}>"
 | |
| 
 | |
|   precmd () { }
 | |
|   preexec () { }
 | |
| }
 | |
| 
 | |
| prompt_magenta_setup "$@"
 |