move PS1 part from render.py to zsh-init

This commit is contained in:
Martinez 2015-12-26 01:55:23 +01:00
parent 370ba5c576
commit 1c38428f6b
2 changed files with 8 additions and 32 deletions

View file

@ -20,11 +20,10 @@ function preexec {
}
function precmd {
python3 ./render.py $? $COLUMNS 1.25 2.5 0.15 0.05
set_title "${PWD}"
python3 ./render.py $? $COLUMNS 1.25 2.5 0.15 0.05
PS1="$(print "%(?.%{\e[1;36m%}.%{\e[1;31m%}%?%{\e[0m%}:%{\e[1;31m%})%(\!.#.$)%{\e[0m%} ")"
}
unset OVER_PROMPT_CFG
unset PS1
unset RPS1