Skip to content

Commit

Permalink
hide a colon away
Browse files Browse the repository at this point in the history
  • Loading branch information
majnemer committed Sep 3, 2010
1 parent 723bf9b commit 60f666b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zsh/prompt
Expand Up @@ -17,6 +17,7 @@ case "${TERM}" in
BOLDERRORCOLOR=$'%{\e[01;38;5;9m%}'
CLOCKCOLOR=$'%{\e[01;38;5;221m%}'
JOBCOLOR=$'%{\e[38;5;30m%}'
BLACKCOLOR=$'%{\e[00;30m%}'
;;
dumb)
;;
Expand All @@ -33,10 +34,11 @@ case "${TERM}" in
BOLDERRORCOLOR=$'%{\e[01;31m%}'
CLOCKCOLOR=$'%{\e[01;33m%}'
JOBCOLOR=$'%{\e[00;36m%}'
BLACKCOLOR=$'%{\e[00;30m%}'
fi
;;
esac

PROMPT=${RESETCOLOR}${HOSTCOLOR}$'%n@%m '${PATHCOLOR}$'%45<...<%~ %(?..'${BOLDERRORCOLOR}$')%(!.#.$) '${RESETCOLOR}
PROMPT=${RESETCOLOR}${HOSTCOLOR}$'%n@'${LHOSTNAME}${BLACKCOLOR}':'${PATHCOLOR}$'%45<...<%~ %(?..'${BOLDERRORCOLOR}$')%(!.#.$) '${RESETCOLOR}

RPROMPT=${RESETCOLOR}$'%1(j.'${JOBCOLOR}$'[%j].)%(?..'${ERRORCOLOR}$'[%?])'${CLOCKCOLOR}$'[%t]'${RESETCOLOR}

0 comments on commit 60f666b

Please sign in to comment.