summaryrefslogtreecommitdiffstats
path: root/.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.zsh')
-rw-r--r--.zsh/functions/prompt8
1 files changed, 4 insertions, 4 deletions
diff --git a/.zsh/functions/prompt b/.zsh/functions/prompt
index af15976..8b87b55 100644
--- a/.zsh/functions/prompt
+++ b/.zsh/functions/prompt
@@ -1,4 +1,4 @@
-# -*- mode: shell-script -*-
+# -*- mode: shell-script; eval: (git-auto-commit-mode 1) -*-
local pac_cnt=$(get_cnt updates)
local aur_cnt=$(get_cnt aur)
@@ -10,7 +10,7 @@ if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then
"%{${fg[cyan]}%}" $aur_cnt "%{${fg[default]}%}"
fi
-printf '%s%s%s:%s%s%s%s>%s ' \
+printf '%s%s%s%s%s:%s%s%s ' \
+ "%(?.%{${fg[green]}%}^_^.%{${fg[red]}%})%B" "%b%{${fg[default]}%}T_T" \
"%{${fg[magenta]}%}" $hostname "%{${fg[default]}%}" \
- "%{${fg[green]}%}" "%~" "%{${fg[default]}%}" \
- "%(?.%{${fg[green]}%}.%{${fg[red]}%})%B" "%b%{${fg[default]}%}"
+ "%{${fg[green]}%}" "%~" "%{${fg[default]}%}"