diff options
author | June McEnroe <june@causal.agency> | 2012-03-30 23:33:14 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2012-03-30 23:33:14 -0400 |
commit | 9ae28b6ff58644a6526ca23c258d8be71e82cc9f (patch) | |
tree | 62886f5be5735c0ae31326f4d74f10f028d197b5 | |
parent | Add holidays to Task (diff) | |
download | src-9ae28b6ff58644a6526ca23c258d8be71e82cc9f.tar.gz src-9ae28b6ff58644a6526ca23c258d8be71e82cc9f.zip |
Move task count to beginning of prompt
-rw-r--r-- | .zshrc | 2 |
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 |