mirror of
https://github.com/gyoder/dots.git
synced 2026-04-02 20:25:46 +00:00
updated starship
This commit is contained in:
parent
9113546b49
commit
1c8f17847d
1 changed files with 4 additions and 0 deletions
|
|
@ -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'
|
when = 'git rev-parse --is-inside-work-tree 2>/dev/null && ! jj root 2>/dev/null'
|
||||||
shell = ["sh"]
|
shell = ["sh"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue