# HG changeset patch # User Christophe Lincoln # Date 1307906303 -7200 # Node ID 86891a868e9d383859b1273aeca37f7e769c30a0 # Parent 5d4e3644da14c391dd164f6091053f45948b6136 ssfs-sh: clear screen on user login diff -r 5d4e3644da14 -r 86891a868e9d ssfs-sh --- a/ssfs-sh Sun Jun 12 21:10:05 2011 +0200 +++ b/ssfs-sh Sun Jun 12 21:18:23 2011 +0200 @@ -24,7 +24,8 @@ else # Chroot will drop user into /, so set new HOME and cd. Set also # some env variables but don't source any profile. - echo -e "\n\033[1m Welcome to the Ssfs SHell $USER\033[0m\n" + clear && echo -e \ + "\n\033[1m Welcome to the Ssfs SHell $USER\033[0m\n" PS1='\u@\h\e[0m:\e[1;34m\w\e[0m\$ ' PATH='/bin:/sbin' HOME=/home/$USER