.zsh/functions/prompt
This commit is contained in:
parent
eac44bf15a
commit
39968ad116
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 hostname=$(hostname | cut -d . -f 1)
|
||||
|
||||
line $hostname "$(date)"
|
||||
line $hostname "$(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