summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2012-03-30 23:33:14 -0400
committerJune McEnroe <programble@gmail.com>2012-03-30 23:33:14 -0400
commit58b68f4e9b60421efd4352117939294e653430a8 (patch)
tree238a7bb940c6c0d24c9d23718b4267fd0ddd8c2a
parentAdd holidays to Task (diff)
downloadsrc-58b68f4e9b60421efd4352117939294e653430a8.tar.gz
src-58b68f4e9b60421efd4352117939294e653430a8.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 0b414afe..d7708999 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