Browse Source

Background is now properly cleared at the end of the prompt.

master
Ian Burgmyer 4 years ago
parent
commit
c65c8c1e38
  1. 10
      spectere.zsh-theme

10
spectere.zsh-theme

@ -72,6 +72,14 @@ sep() {
echo -n " "
}
end_prompt() {
local old_bg=$current_bg
echo -n " "
eBg
p $old_bg "${sym_rightarrow}"
echo -n " "
}
is_git() {
if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then
echo 1
@ -154,7 +162,7 @@ prompt() {
seg_git 0
fi
sep 0
end_prompt
}
if [[ "${TERM}" = "linux" ]]; then

Loading…
Cancel
Save