Mercurial > repos > other > linux
changeset 56:3c48c5671f1a
Make the prompt more visible and fix "less" highlighting
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 28 Mar 2017 11:15:48 +0100 |
parents | 231b9b290bfb |
children | 28317d15a4cf 4d506783e1b3 |
files | bashrc |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bashrc Sat Mar 25 11:15:14 2017 +0000 +++ b/bashrc Tue Mar 28 11:15:48 2017 +0100 @@ -36,4 +36,11 @@ fi export GTK_IM_MODULE=ibus -export LS_OPTIONS="$LS_OPTIONS -p" \ No newline at end of file +export LS_OPTIONS="$LS_OPTIONS -p" + +# Bold the command prompt and standardise on SUSE format +export PS1='\[\033[01m\]\[$(ppwd)\]\u@\h\[\033[00m\]:\[\033[01m\]\w\[\033[00m\]> ' + +# Fix "less" highlighting +export LESS_TERMCAP_so=$'\033[30;47m' +export LESS_TERMCAP_se=$'\033[0m' \ No newline at end of file