|  | @@ -23,6 +23,13 @@ function fish_prompt --description 'Write out the prompt'
 | 
	
		
			
				|  |  |      # Second line
 | 
	
		
			
				|  |  |      echo
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    # Error status
 | 
	
		
			
				|  |  | +    if not test $last_status -eq 0
 | 
	
		
			
				|  |  | +        set_color $fish_color_error
 | 
	
		
			
				|  |  | +    echo -n $last_status
 | 
	
		
			
				|  |  | +    set_color normal
 | 
	
		
			
				|  |  | +    end
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      # Purpose
 | 
	
		
			
				|  |  |      set_color blue
 | 
	
		
			
				|  |  |      echo -n $FISH_SHELL_PURPOSE
 | 
	
	
		
			
				|  | @@ -33,11 +40,10 @@ function fish_prompt --description 'Write out the prompt'
 | 
	
		
			
				|  |  |      __fish_hg_prompt
 | 
	
		
			
				|  |  |      echo
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    # Color arrow with error
 | 
	
		
			
				|  |  |      if not test $last_status -eq 0
 | 
	
		
			
				|  |  |          set_color $fish_color_error
 | 
	
		
			
				|  |  | -		echo -n $last_status
 | 
	
		
			
				|  |  |      end
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      echo -n '➤ '
 | 
	
		
			
				|  |  |      set_color normal
 | 
	
		
			
				|  |  |  end
 |