.zsh/functions/prompt
This commit is contained in:
parent
dfa924fcd8
commit
89c865eb47
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ local pac_cnt=$(get_cnt updates)
|
|||
local aur_cnt=$(get_cnt aur)
|
||||
local hostname=$(hostname | cut -d . -f 1)
|
||||
|
||||
line
|
||||
|
||||
if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then
|
||||
printf "%s%d%s/%s%d%s:" \
|
||||
"%{${fg[cyan]}%}" $pac_cnt "%{${fg[default]}%}" \
|
||||
|
|
Loading…
Reference in a new issue