Приглашение
This commit is contained in:
		
							
								
								
									
										1
									
								
								.zshrc
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								.zshrc
									
									
									
									
									
								
							@@ -2,4 +2,5 @@ source $ZDOTDIR/env.zsh
 | 
			
		||||
source $ZDOTDIR/history.zsh
 | 
			
		||||
source $ZDOTDIR/options.zsh
 | 
			
		||||
source $ZDOTDIR/plugins.zsh
 | 
			
		||||
source $ZDOTDIR/prompt.zsh
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										31
									
								
								prompt.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								prompt.zsh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
# Theme
 | 
			
		||||
# Install powerline font
 | 
			
		||||
SPACESHIP_PROMPT_ORDER=(
 | 
			
		||||
  user          # Username section
 | 
			
		||||
  dir           # Current directory section
 | 
			
		||||
  host          # Hostname section
 | 
			
		||||
  git           # Git section (git_branch + git_status)
 | 
			
		||||
  hg            # Mercurial section (hg_branch  + hg_status)
 | 
			
		||||
  exec_time     # Execution time
 | 
			
		||||
  line_sep      # Line break
 | 
			
		||||
  vi_mode       # Vi-mode indicator
 | 
			
		||||
  jobs          # Background jobs indicator
 | 
			
		||||
  exit_code     # Exit code section
 | 
			
		||||
  char          # Prompt character
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
SPACESHIP_PROMPT_ADD_NEWLINE=false
 | 
			
		||||
SPACESHIP_PROMPT_SEPARATE_LINE=false
 | 
			
		||||
SPACESHIP_CHAR_SYMBOL="❯"
 | 
			
		||||
SPACESHIP_CHAR_SUFFIX=" "
 | 
			
		||||
 | 
			
		||||
# Simplify prompt if we're using Hyper
 | 
			
		||||
if [[ "$TERM_PROGRAM" == "Hyper" ]]; then
 | 
			
		||||
  SPACESHIP_PROMPT_SEPARATE_LINE=false
 | 
			
		||||
  SPACESHIP_DIR_SHOW=false
 | 
			
		||||
  SPACESHIP_GIT_BRANCH_SHOW=false
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
antibody bundle denysdovhan/spaceship-prompt
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user