diff options
Diffstat (limited to 'testing/hosts/default/root/.bashrc')
-rw-r--r-- | testing/hosts/default/root/.bashrc | 11 |
1 files changed, 11 insertions, 0 deletions
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 + |