Add Fira Code-compatible VC status glyphs
This commit is contained in:
		
							parent
							
								
									481358beb7
								
							
						
					
					
						commit
						22ebda7eaf
					
				
							
								
								
									
										25
									
								
								config.fish
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								config.fish
									
									
									
									
									
								
							@ -38,6 +38,28 @@ set fish_color_error ff6c6b
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
set -x LS_COLORS "no=00:fi=00:di=01;94:ln=01;96:or=41;96;01:ex=92:mi=90:pi=35:so=35:bd=33:cd=33:"
 | 
					set -x LS_COLORS "no=00:fi=00:di=01;94:ln=01;96:or=41;96;01:ex=92:mi=90:pi=35:so=35:bd=33:cd=33:"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					####################
 | 
				
			||||||
 | 
					# VC Status Glyphs #
 | 
				
			||||||
 | 
					####################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_cleanstate ✓
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_dirtystate +
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_invalidstate x
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_stagedstate +
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_stashstate ↳
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_untrackedfiles …
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_upstream_ahead ↑
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_upstream_behind ↓
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_upstream_diverged ⟷
 | 
				
			||||||
 | 
					set ___fish_git_prompt_char_upstream_equal =
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set fish_prompt_hg_status_added +
 | 
				
			||||||
 | 
					set fish_prompt_hg_status_copied ↳
 | 
				
			||||||
 | 
					set fish_prompt_hg_status_deleted x
 | 
				
			||||||
 | 
					set fish_prompt_hg_status_modified +
 | 
				
			||||||
 | 
					set fish_prompt_hg_status_unmerged ⟷
 | 
				
			||||||
 | 
					set fish_prompt_hg_status_untracked …
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#####################
 | 
					#####################
 | 
				
			||||||
# Setting Variables #
 | 
					# Setting Variables #
 | 
				
			||||||
#####################
 | 
					#####################
 | 
				
			||||||
@ -68,6 +90,9 @@ end
 | 
				
			|||||||
# Alias 'addtopath' -> 'fish_add_path -P' for temporarily prepending a dir to your PATH
 | 
					# Alias 'addtopath' -> 'fish_add_path -P' for temporarily prepending a dir to your PATH
 | 
				
			||||||
alias addtopath 'fish_add_path -P'
 | 
					alias addtopath 'fish_add_path -P'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Common/generic aliases
 | 
				
			||||||
 | 
					alias lsl 'ls -lh'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#####################
 | 
					#####################
 | 
				
			||||||
# Greeting Function #
 | 
					# Greeting Function #
 | 
				
			||||||
#####################
 | 
					#####################
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user