summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2012-03-30 23:33:14 -0400
committerJune McEnroe <june@causal.agency>2012-03-30 23:33:14 -0400
commit9ae28b6ff58644a6526ca23c258d8be71e82cc9f (patch)
tree62886f5be5735c0ae31326f4d74f10f028d197b5
parentAdd holidays to Task (diff)
downloadsrc-9ae28b6ff58644a6526ca23c258d8be71e82cc9f.tar.gz
src-9ae28b6ff58644a6526ca23c258d8be71e82cc9f.zip
Move task count to beginning of prompt
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index af981a90..9739c5ed 100644
--- a/.zshrc
+++ b/.zshrc
@@ -149,7 +149,7 @@ function prompt_task {
   [ "$COUNT" -gt 0 ] && echo "[%{$fg[red]%}$COUNT%{$fg[green]%}]"
 }
 
-PROMPT="%{$terminfo[bold]$fg[green]%}[%{$fg[blue]%}%30<..<%~%{$fg[green]%}]\$(prompt_task)%(!.#.$)%{$terminfo[sgr0]$reset_color%} "
+PROMPT="%{$terminfo[bold]$fg[green]%}\$(prompt_task)[%{$fg[blue]%}%30<..<%~%{$fg[green]%}]%(!.#.$)%{$terminfo[sgr0]$reset_color%} "
 RPROMPT="%(?..%{$terminfo[bold]$fg[green]%}[%{$fg[red]%}%?%{$fg[green]%}]%{$terminfo[sgr0]%})"
 
 source ~/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh