From: Eric Blake Date: Fri, 25 Oct 2019 20:06:15 +0000 (-0500) Subject: Tweak $title display in .term/.sh. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=496982f9b45d5dcba8a298575ceb0cf1c2884637;p=libguestfs-talks.git Tweak $title display in .term/.sh. --- diff --git a/2019-kvm-forum/4000-case-study-baseline.term b/2019-kvm-forum/4000-case-study-baseline.term index 6828640..c5f84c8 100755 --- a/2019-kvm-forum/4000-case-study-baseline.term +++ b/2019-kvm-forum/4000-case-study-baseline.term @@ -13,5 +13,7 @@ remember 'cat ./convert' remember './convert zeromode=none' pushd $talkdir/fastzero.d >/dev/null +echo "Based on https://www.redhat.com/archives/libguestfs/2019-August/msg00322.html" +echo terminal popd >/dev/null diff --git a/2019-kvm-forum/bashrc b/2019-kvm-forum/bashrc index f526961..36e9c0a 100644 --- a/2019-kvm-forum/bashrc +++ b/2019-kvm-forum/bashrc @@ -5,9 +5,10 @@ if [ -f /etc/profile.d/colorls.sh ]; then . /etc/profile.d/colorls.sh; fi # Fancy prompt colours (see # https://wiki.archlinux.org/index.php/Color_Bash_Prompt) -promptcol='\e[0;32m' ;# colour for the prompt -commandcol='\e[1;31m' ;# colour for the typed command -outputcol='\e[0m' ;# colour for command output +titlecol=$'\e[1;30;47m' ;# colour for the title +promptcol=$'\e[0;32m' ;# colour for the prompt +commandcol=$'\e[1;31m' ;# colour for the typed command +outputcol=$'\e[0m' ;# colour for command output export PS1="\n\[$promptcol\]\$ \[$commandcol\]" @@ -16,4 +17,4 @@ trap 'echo -ne "$outputcol"' DEBUG # Load key bindings (if any). bind -f $talkdir/bindings -echo $title +printf %s\\n "$titlecol$title$outputcol"