summaryrefslogtreecommitdiff
path: root/fish
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-03-10 17:08:56 +0000
committerGrace Yoder <grace_yoder@outlook.com>2026-03-10 17:08:56 +0000
commit1c8f17847d02450986594c6df77f425254e40737 (patch)
tree7ac15f61c81c53f2eaf5049a04b48dc7fd6444de /fish
parent9113546b4919fd1a53c97711697681ad10653593 (diff)
updated starship
Diffstat (limited to 'fish')
-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"]