| 
									
										
										
										
											2012-05-07 16:21:28 -04:00
										 |  |  | # walkah ZSH Theme | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi | 
					
						
							|  |  |  | local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-21 23:08:33 -04:00
										 |  |  | function asdf_prompt() { | 
					
						
							| 
									
										
										
										
											2020-09-11 17:11:13 -04:00
										 |  |  |   echo $(asdf current $1|awk '{print $2}') | 
					
						
							| 
									
										
										
										
											2018-10-21 23:08:33 -04:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-05 20:57:39 -05:00
										 |  |  | PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:$(shrink_path -f) $(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} ' | 
					
						
							| 
									
										
										
										
											2012-05-07 16:21:28 -04:00
										 |  |  | PROMPT2='%{$fg[red]%}\ %{$reset_color%}' | 
					
						
							| 
									
										
										
										
											2019-11-15 12:14:06 -05:00
										 |  |  | if (( $+commands[asdf] )); then | 
					
						
							|  |  |  | 	RPS1='%{$fg[cyan]%}(%{$fg[red]%}$(asdf_prompt ruby) %{$fg[green]%}$(asdf_prompt nodejs) %{$fg[blue]%}$(asdf_prompt python)%{$fg[cyan]%}) %{$reset_color%}${return_code}' | 
					
						
							|  |  |  | fi | 
					
						
							| 
									
										
										
										
											2012-05-07 16:21:28 -04:00
										 |  |  | ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}±%{$fg[yellow]%}" | 
					
						
							|  |  |  | ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | 
					
						
							|  |  |  | ZSH_THEME_GIT_PROMPT_CLEAN="" | 
					
						
							|  |  |  | ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$reset_color%}" |