.zsh/functions/prompt
This commit is contained in:
parent
ac4c937a87
commit
ecf2e02bb5
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@ local pac_cnt=$(get_cnt updates)
|
|||
local aur_cnt=$(get_cnt aur)
|
||||
local hostname=$(hostname | cut -d . -f 1)
|
||||
|
||||
printf "%s" \
|
||||
printf "%s " \
|
||||
"%B%(?.%{${fg[green]}%}^_^.%{${fg[red]}%}T_T)%b%{${fg[default]}%}"
|
||||
line 4 15
|
||||
printf "%s" "$(date +%Y%m%d%H.%M)"
|
||||
printf " %s " "$(date +%Y%m%d%H.%M)"
|
||||
|
||||
if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then
|
||||
printf "%s%d%s/%s%d%s:" \
|
||||
|
|
Loading…
Reference in a new issue