summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-12-15 03:07:38 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-12-15 04:08:59 +0300
commitc5726bc548a4a8b82db480ec55ee04ceae31624e (patch)
tree235bec80ee105ea0bbcc75c9a02ead13214ff253 /powerlevel9k.zsh-theme
parentd514b077d09359860b9450da696e3377e5643740 (diff)
Added the "visual identifier" concept to the `todo` segment.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index e3e135bb..9b74cd87 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -668,7 +668,7 @@ prompt_todo() {
if $(hash todo.sh 2>&-); then
count=$(todo.sh ls | egrep "TODO: [0-9]+ of ([0-9]+) tasks shown" | awk '{ print $4 }')
if [[ "$count" = <-> ]]; then
- "$1_prompt_segment" "$0" "244" "$DEFAULT_COLOR" "$(print_icon 'TODO_ICON') $count"
+ "$1_prompt_segment" "$0" "244" "$DEFAULT_COLOR" "$count" 'TODO_ICON'
fi
fi
}