summaryrefslogtreecommitdiff
path: root/config/essentials/starship.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config/essentials/starship.toml')
-rw-r--r--config/essentials/starship.toml4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/essentials/starship.toml b/config/essentials/starship.toml
index cd5832f..15139f5 100644
--- a/config/essentials/starship.toml
+++ b/config/essentials/starship.toml
@@ -34,8 +34,6 @@ disabled = false
[custom.upds]
command = 'cat ~/.cache/updates' # shows output of command
-# detect_files = ['foo'] # can specify filters but wildcards are not supported
-when = ''' test "$(cat ~/.cache/updates)" -gt 0'''
+when = '[ "$(cat ~/.cache/updates)" -gt 0 ]'
symbol = '📦'
format = '$output$symbol '
-