summaryrefslogtreecommitdiff
path: root/fish/.config
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-03-10 13:10:32 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-03-10 13:10:32 -0400
commit5fdb347da507c35d5cc3fa2327f652bf2360f4db (patch)
tree13f5bab9acb672d35e7de2c831b1c5970f13a5fa /fish/.config
parentcda70575634df30a621114a3729529c279095fe4 (diff)
parent1c8f17847d02450986594c6df77f425254e40737 (diff)
Merged
Diffstat (limited to 'fish/.config')
-rw-r--r--fish/.config/starship.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/fish/.config/starship.toml b/fish/.config/starship.toml
index 103c6c5..5bf8855 100644
--- a/fish/.config/starship.toml
+++ b/fish/.config/starship.toml
@@ -97,6 +97,10 @@ git status --porcelain | awk '
}
}
'
+unpushed=$(git rev-list @{u}..HEAD 2>/dev/null | wc -l | tr -d ' ')
+if [ -n "$unpushed" ] && [ "$unpushed" -gt 0 ]; then
+ printf "\033[38;2;137;220;235m⇡%d " "$unpushed"
+fi
'''
when = 'git rev-parse --is-inside-work-tree 2>/dev/null && ! jj root 2>/dev/null'
shell = ["sh"]