From 1c8f17847d02450986594c6df77f425254e40737 Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Tue, 10 Mar 2026 17:08:56 +0000 Subject: [PATCH] updated starship --- fish/.config/starship.toml | 4 ++++ 1 file changed, 4 insertions(+) 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"]