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