summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-09-15 17:17:34 +0100
committerAlan Pearce2013-09-15 17:18:40 +0100
commit3b12b4c63a9e988de466828fc78bf865988465ad (patch)
tree2207565765e7cd0dd82e435e70627dbd69d22408
parentb0c124161c2df4e5762b918dfcbf142d61ea9a77 (diff)
downloadnixfiles-3b12b4c63a9e988de466828fc78bf865988465ad.tar.lz
nixfiles-3b12b4c63a9e988de466828fc78bf865988465ad.tar.zst
nixfiles-3b12b4c63a9e988de466828fc78bf865988465ad.zip
zsh: Make git branch name visible in pure prompt
-rw-r--r--zsh/functions/pure/prompt_pure_setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/functions/pure/prompt_pure_setup b/zsh/functions/pure/prompt_pure_setup
index 2cf91013..138a4b5a 100644
--- a/zsh/functions/pure/prompt_pure_setup
+++ b/zsh/functions/pure/prompt_pure_setup
@@ -48,7 +48,7 @@ prompt_pure_precmd() {
 	# git info
 	vcs_info
 
-	print -P '\n%F{blue}%~%F{8}$vcs_info_msg_0_`prompt_pure_git_dirty` $prompt_pure_username%f %F{yellow}`prompt_pure_cmd_exec_time`%f'
+	print -P '\n%F{blue}%~%F{11}$vcs_info_msg_0_`prompt_pure_git_dirty` $prompt_pure_username%f %F{yellow}`prompt_pure_cmd_exec_time`%f'
 
 	# reset value since `preexec` isn't always triggered
 	unset cmd_timestamp