mirror of
				https://github.com/ItsDrike/dotfiles.git
				synced 2025-10-30 23:56:35 +00:00 
			
		
		
		
	Update theme
This commit is contained in:
		
							parent
							
								
									251b0e82d2
								
							
						
					
					
						commit
						51a193be98
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -1,5 +1,8 @@ | ||||||
| #!/usr/bin/env zsh | #!/usr/bin/env zsh | ||||||
| 
 | 
 | ||||||
|  | # hide EOL sign ('%') | ||||||
|  | export PROMPT_EOL_MARK="" | ||||||
|  | 
 | ||||||
| # Color definition | # Color definition | ||||||
| GRAY="%F{237}" | GRAY="%F{237}" | ||||||
| RED="%F{196}" | RED="%F{196}" | ||||||
|  | @ -18,7 +21,8 @@ git_prompt() { | ||||||
|     fi |     fi | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| setopt PROMPT_SUBST | 
 | ||||||
|  | setopt promptsubst  # enable command substitution in prompt | ||||||
| 
 | 
 | ||||||
| # Primary Prompt | # Primary Prompt | ||||||
| [ "$EUID" -eq 0 ] && PS1="$RED%n@%m$RESET" || PS1="$GRAY%n@%m$RESET" # user@machine | [ "$EUID" -eq 0 ] && PS1="$RED%n@%m$RESET" || PS1="$GRAY%n@%m$RESET" # user@machine | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue