all repos — nixfiles @ 3b12b4c63a9e988de466828fc78bf865988465ad

System and user configuration, managed by nix and home-manager

zsh: Make git branch name visible in pure prompt
Alan Pearce alan@alanpearce.co.uk
Sun, 15 Sep 2013 17:17:34 +0100
commit

3b12b4c63a9e988de466828fc78bf865988465ad

parent

b0c124161c2df4e5762b918dfcbf142d61ea9a77

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M zsh/functions/pure/prompt_pure_setupzsh/functions/pure/prompt_pure_setup
@@ -48,7 +48,7 @@ 	# 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