Update the prompt properly.
This commit is contained in:
parent
29e7a2065e
commit
9108957c08
2
.bashrc
2
.bashrc
|
@ -13,7 +13,7 @@ export PATH=/usr/local/bin:/usr/local/sbin:${PATH}
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
# A useful prompt
|
# A useful prompt
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
export PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
|
export PS1="\u@\h:\w$ "
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue