diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-03-10 17:08:56 +0000 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-03-10 17:08:56 +0000 |
| commit | 1c8f17847d02450986594c6df77f425254e40737 (patch) | |
| tree | 7ac15f61c81c53f2eaf5049a04b48dc7fd6444de /fish/.config | |
| parent | 9113546b4919fd1a53c97711697681ad10653593 (diff) | |
updated starship
Diffstat (limited to 'fish/.config')
| -rw-r--r-- | fish/.config/starship.toml | 4 |
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"] |
