]> git.pld-linux.org Git - packages/bash.git/commitdiff
- clear terminal only on console
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Feb 2007 14:27:40 +0000 (14:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash-skel-.bash_logout -> 1.2

bash-skel-.bash_logout

index 9bb9639b8799558b9a96c35643098d28960194cc..f912cacb7a9fa1b29e59bf40fe4760923947fa47 100644 (file)
@@ -1,3 +1,5 @@
 # .bash_logout - file executed when logging out
 
-clear
+if [ -x /sbin/consoletype ] && [ `/sbin/consoletype` = vt ]; then
+       clear
+fi
This page took 0.038592 seconds and 4 git commands to generate.