summaryrefslogtreecommitdiffstats
path: root/.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.zsh')
-rw-r--r--.zsh/functions/prompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zsh/functions/prompt b/.zsh/functions/prompt
index 419726c..bcd3397 100644
--- a/.zsh/functions/prompt
+++ b/.zsh/functions/prompt
@@ -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)"
if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then
printf "%s%d%s/%s%d%s:" \