summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:36:45 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:36:45 +0100
commit515f1220f7b7cb7f43c68567417a162a20299a50 (patch)
treee708ef9294321f7b9f44c7bd28c4917f53b0d808 /bashrc
parentHelper to find branches with bugs (b) and feature (f) prefixes (diff)
downloadutil-515f1220f7b7cb7f43c68567417a162a20299a50.tar.bz2
util-515f1220f7b7cb7f43c68567417a162a20299a50.tar.xz
util-515f1220f7b7cb7f43c68567417a162a20299a50.zip
Enable fancy prompts
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 87a2343..2f2c908 100644
--- a/bashrc
+++ b/bashrc
@@ -301,7 +301,7 @@ if [ "$(awk '$5=="/" {print $1}' </proc/1/mountinfo)" != "$(awk '$5=="/" {print
PROMPT_COMMAND='echo -ne "\033]0;${PWD/#$HOME/\~} ($ROOT)\007"'
elif [ -z "$SSH_CONNECTION" ] ; then
# local
- PS1='\[\033[01;34m\]\w \$\[\033[00m\] '
+ PS1='\[\e[01;34m\]\w$(prompts)\[\e[0m\] '
PROMPT_COMMAND='echo -ne "\033]0;${PWD/#$HOME/\~}\007"'
else
# ssh