diff options
author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 11:36:45 +0100 |
---|---|---|
committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 11:36:45 +0100 |
commit | 515f1220f7b7cb7f43c68567417a162a20299a50 (patch) | |
tree | e708ef9294321f7b9f44c7bd28c4917f53b0d808 /bashrc | |
parent | Helper to find branches with bugs (b) and feature (f) prefixes (diff) | |
download | util-515f1220f7b7cb7f43c68567417a162a20299a50.tar.bz2 util-515f1220f7b7cb7f43c68567417a162a20299a50.tar.xz util-515f1220f7b7cb7f43c68567417a162a20299a50.zip |
Enable fancy prompts
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |