summaryrefslogtreecommitdiffstats
path: root/.zsh/functions/prompt
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/functions/prompt')
-rw-r--r--.zsh/functions/prompt9
1 files changed, 2 insertions, 7 deletions
diff --git a/.zsh/functions/prompt b/.zsh/functions/prompt
index a474679..6fe927b 100644
--- a/.zsh/functions/prompt
+++ b/.zsh/functions/prompt
@@ -4,17 +4,12 @@ local pac_cnt=$(get_cnt updates)
local aur_cnt=$(get_cnt aur)
local hostname=$(hostname | cut -d . -f 1)
-printf "%s " \
- "%B%(?.%{${fg[green]}%}^_^.%{${fg[red]}%}T_T)%b%{${fg[default]}%}"
-line 4 15
-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:" \
"%{${fg[cyan]}%}" $pac_cnt "%{${fg[default]}%}" \
"%{${fg[cyan]}%}" $aur_cnt "%{${fg[default]}%}"
fi
-printf '%s %s%s%s:%s%s%s ' \
+printf '%s%s%s:%s%s%s%s ' \
"%{${fg[magenta]}%}" $hostname "%{${fg[default]}%}" \
- "%{${fg[green]}%}" "%~" "%{${fg[default]}%}"
+ "%(?.%{${fg[green]}%}.%{${fg[red]}%})" "%~" "%{${fg[default]}%}"