summary refs log tree commit diff stats
path: root/zsh/functions/pure
diff options
context:
space:
mode:
authorAlan Pearce2013-09-15 17:34:41 +0100
committerAlan Pearce2013-09-15 17:51:35 +0100
commit3e8b0b63104acfd5a845ac56dc56d6284b7e16a9 (patch)
treedd4aa9f73cfb1a663854ce6851690b755edb2367 /zsh/functions/pure
parentcd730eb37c5dba5897682b4d588ed428759bfe28 (diff)
downloadnixfiles-3e8b0b63104acfd5a845ac56dc56d6284b7e16a9.tar.lz
nixfiles-3e8b0b63104acfd5a845ac56dc56d6284b7e16a9.tar.zst
nixfiles-3e8b0b63104acfd5a845ac56dc56d6284b7e16a9.zip
zsh: Remove extra newline from pure prompt
Diffstat (limited to 'zsh/functions/pure')
-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 3dd6820e..1bbe2673 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{11}$vcs_info_msg_0_`prompt_pure_git_dirty` $prompt_pure_username%f %F{yellow}`prompt_pure_cmd_exec_time`%f'
+	print -P '%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