From 9325f667873f337ecd7aa264ece4a73753a1f268 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 14 Feb 2007 14:27:40 +0000 Subject: [PATCH] - clear terminal only on console Changed files: bash-skel-.bash_logout -> 1.2 --- bash-skel-.bash_logout | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bash-skel-.bash_logout b/bash-skel-.bash_logout index 9bb9639..f912cac 100644 --- a/bash-skel-.bash_logout +++ b/bash-skel-.bash_logout @@ -1,3 +1,5 @@ # .bash_logout - file executed when logging out -clear +if [ -x /sbin/consoletype ] && [ `/sbin/consoletype` = vt ]; then + clear +fi -- 2.44.0