mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
hide a colon away
This commit is contained in:
parent
723bf9b4b2
commit
60f666b980
1 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,7 @@ case "${TERM}" in
|
||||||
BOLDERRORCOLOR=$'%{\e[01;38;5;9m%}'
|
BOLDERRORCOLOR=$'%{\e[01;38;5;9m%}'
|
||||||
CLOCKCOLOR=$'%{\e[01;38;5;221m%}'
|
CLOCKCOLOR=$'%{\e[01;38;5;221m%}'
|
||||||
JOBCOLOR=$'%{\e[38;5;30m%}'
|
JOBCOLOR=$'%{\e[38;5;30m%}'
|
||||||
|
BLACKCOLOR=$'%{\e[00;30m%}'
|
||||||
;;
|
;;
|
||||||
dumb)
|
dumb)
|
||||||
;;
|
;;
|
||||||
|
@ -33,10 +34,11 @@ case "${TERM}" in
|
||||||
BOLDERRORCOLOR=$'%{\e[01;31m%}'
|
BOLDERRORCOLOR=$'%{\e[01;31m%}'
|
||||||
CLOCKCOLOR=$'%{\e[01;33m%}'
|
CLOCKCOLOR=$'%{\e[01;33m%}'
|
||||||
JOBCOLOR=$'%{\e[00;36m%}'
|
JOBCOLOR=$'%{\e[00;36m%}'
|
||||||
|
BLACKCOLOR=$'%{\e[00;30m%}'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
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}
|
RPROMPT=${RESETCOLOR}$'%1(j.'${JOBCOLOR}$'[%j].)%(?..'${ERRORCOLOR}$'[%?])'${CLOCKCOLOR}$'[%t]'${RESETCOLOR}
|
||||||
|
|
Loading…
Add table
Reference in a new issue