summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorMikhaylov Anton <anion155@gmail.com>2016-11-21 14:25:34 +0300
committerBen Hilburn <bhilburn@gmail.com>2017-01-21 06:05:32 +0300
commit32708784b25f671db09fd3224b4e2d910a48dbbb (patch)
treec84d8346f4dafd1acd0123f0f5b890b2ec1b1ffe /powerlevel9k.zsh-theme
parent41588e0d249d328ef862b779b1c8ef752a94ca81 (diff)
Fix
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme3
1 files changed, 1 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index f5208c72..1387ecea 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -377,8 +377,7 @@ prompt_hdd_usage() {
if [ $level -le $POWERLEVEL9K_HDD_USAGE_WARNING_LEVEL ]; then
current_state='warning'
message="$message left"
- fi
- if [ $level -le $POWERLEVEL9K_HDD_USAGE_CRITICAL_LEVEL ]; then
+ elif [ $level -le $POWERLEVEL9K_HDD_USAGE_CRITICAL_LEVEL ]; then
current_state='critical'
message="$message left"
fi