Browse Source

prompt updated

master
Kolan Sh 2 years ago
parent
commit
62409ce2a1
2 changed files with 4 additions and 2 deletions
  1. +2
    -0
      const.sh
  2. +2
    -2
      prompt.sh

+ 2
- 0
const.sh View File

@ -21,4 +21,6 @@ elif [[ "linux" != "$TERM" && -f $HOME/.dircolors_256 ]]; then
fi
export COLORTERM=truecolor
PROMPT_COLOR=36m
PROMPT_END=$
HOST_COLOR=31m

+ 2
- 2
prompt.sh View File

@ -1,4 +1,4 @@
export PS1="\[\033[01;36m\]\u@\[\033[01;$HOST_COLOR\]\h\[\033[01;34m\] \w\\
export PS1="\[\033[01;$PROMPT_COLOR\]\u@\[\033[01;$HOST_COLOR\]\h\[\033[01;34m\] \w\\
\[\033[01;30m\]\$(__git_ps1)\$(__hg_ps1) \\
\[\033[01;36m\]\$\[\033[00m\] \\
\[\033[01;$PROMPT_COLOR\]\$PROMPT_END\[\033[00m\] \\
"

Loading…
Cancel
Save