Update the prompt properly.

This commit is contained in:
Scott Wallace 2014-11-12 09:56:09 +00:00
parent 29e7a2065e
commit 9108957c08

View file

@ -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$ "
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------