From: James Bunton Date: Mon, 10 Dec 2018 20:50:00 +0000 (+1100) Subject: bash: Fix PROMPT_COMMAND X-Git-Url: https://code.delx.au/dotfiles/commitdiff_plain/c1872248d369fdfb61c323a676c1706735b3d980 bash: Fix PROMPT_COMMAND --- diff --git a/.bashrc b/.bashrc index 94beebe..e8502b2 100644 --- a/.bashrc +++ b/.bashrc @@ -71,7 +71,7 @@ export HISTTIMEFORMAT='%F %T ' stty -ixon # hostname:workingdir -PROMPT_COMMAND='echo -ne "\\033]0;$(hostname|cut -d. -f1):${PWD/$HOME/~}\\007"' +PROMPT_COMMAND='echo -ne "\\033]0;$(hostname|cut -d. -f1):${PWD/$HOME/\~}\\007"' # Use dark background colors in apps like vim export COLORFGBG='15;0'