feat(starship): add basic starship configuration
This commit is contained in:
		
							
								
								
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -25,6 +25,11 @@ zsh/*
 | 
				
			|||||||
!zsh/ssh-menu
 | 
					!zsh/ssh-menu
 | 
				
			||||||
!zsh/get-dump
 | 
					!zsh/get-dump
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# starship
 | 
				
			||||||
 | 
					!starship
 | 
				
			||||||
 | 
					starship/*
 | 
				
			||||||
 | 
					!starship/config.toml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# tmux
 | 
					# tmux
 | 
				
			||||||
!tmux
 | 
					!tmux
 | 
				
			||||||
tmux/*
 | 
					tmux/*
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										52
									
								
								starship/config.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								starship/config.toml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
				
			|||||||
 | 
					add_newline = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					format = """\
 | 
				
			||||||
 | 
					$hostname\
 | 
				
			||||||
 | 
					[$directory](cyan)\
 | 
				
			||||||
 | 
					$git_branch\
 | 
				
			||||||
 | 
					$git_commit\
 | 
				
			||||||
 | 
					$git_state\
 | 
				
			||||||
 | 
					$git_status\
 | 
				
			||||||
 | 
					$character\
 | 
				
			||||||
 | 
					"""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					right_format = """\
 | 
				
			||||||
 | 
					$golang\
 | 
				
			||||||
 | 
					$lua\
 | 
				
			||||||
 | 
					$nodejs\
 | 
				
			||||||
 | 
					$python\
 | 
				
			||||||
 | 
					$rust\
 | 
				
			||||||
 | 
					"""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[character]
 | 
				
			||||||
 | 
					success_symbol = '[>](bold green)'
 | 
				
			||||||
 | 
					error_symbol = '[>](bold red)'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[directory]
 | 
				
			||||||
 | 
					truncation_length = 1
 | 
				
			||||||
 | 
					truncate_to_repo = false
 | 
				
			||||||
 | 
					fish_style_pwd_dir_length = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[git_commit]
 | 
				
			||||||
 | 
					tag_symbol = ''
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[git_branch]
 | 
				
			||||||
 | 
					symbol = ''
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[git_status]
 | 
				
			||||||
 | 
					format = '[$all_status$ahead_behind]($style)'
 | 
				
			||||||
 | 
					ahead = '[↑${count}](green) '
 | 
				
			||||||
 | 
					diverged = '[↑${ahead_count}↓${behind_count}](red) '
 | 
				
			||||||
 | 
					behind = '[↓${count}](green) '
 | 
				
			||||||
 | 
					modified = '[!${count}](yellow) '
 | 
				
			||||||
 | 
					untracked = '[?${count}](blue) '
 | 
				
			||||||
 | 
					staged = '[+${count}](yellow) '
 | 
				
			||||||
 | 
					stashed = '[*${count}](green) '
 | 
				
			||||||
 | 
					deleted = '[x${count}](red) '
 | 
				
			||||||
 | 
					renamed = '[r${count}](yellow) '
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[python]
 | 
				
			||||||
 | 
					format = 'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
 | 
				
			||||||
 | 
					python_binary = 'python'
 | 
				
			||||||
 | 
					pyenv_version_name = false
 | 
				
			||||||
 | 
					detect_files = [ '.python-version' ]
 | 
				
			||||||
		Reference in New Issue
	
	Block a user