.zsh/functions/prompt
This commit is contained in:
parent
31b40903a9
commit
8af2a60b74
1 changed files with 4 additions and 4 deletions
|
@ -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]}%}"
|
||||
|
|
Loading…
Reference in a new issue