From 6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349 Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Sun, 25 Aug 2013 15:37:26 +0200 Subject: Imported Upstream version 5.1.0 --- testing/hosts/default/root/.bashrc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/hosts/default/root/.bashrc (limited to 'testing/hosts/default/root') diff --git a/testing/hosts/default/root/.bashrc b/testing/hosts/default/root/.bashrc new file mode 100644 index 000000000..078dbd601 --- /dev/null +++ b/testing/hosts/default/root/.bashrc @@ -0,0 +1,11 @@ +# don't store duplicate entries in the history +export HISTCONTROL=erasedups +# use a simple prompt of host:pwd# (user is always root) +PS1='\h:\w\$ ' +# set the terminal title to host:pwd +case $TERM in +xterm*) + PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}:${PWD}\007"' + ;; +esac + -- cgit v1.2.3