diff options
author | June McEnroe <programble@gmail.com> | 2012-03-30 23:33:14 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2012-03-30 23:33:14 -0400 |
commit | 58b68f4e9b60421efd4352117939294e653430a8 (patch) | |
tree | 238a7bb940c6c0d24c9d23718b4267fd0ddd8c2a | |
parent | Add holidays to Task (diff) | |
download | src-58b68f4e9b60421efd4352117939294e653430a8.tar.gz src-58b68f4e9b60421efd4352117939294e653430a8.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 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 |