Browse Source

prompt updated

master
Kolan Sh 2 years ago
parent
commit
62409ce2a1
  1. 2
      const.sh
  2. 4
      prompt.sh

2
const.sh

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

4
prompt.sh

@ -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