aboutsummaryrefslogtreecommitdiffstats
path: root/.config/zsh/.zlogout
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zlogout')
-rw-r--r--.config/zsh/.zlogout7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/zsh/.zlogout b/.config/zsh/.zlogout
new file mode 100644
index 0000000..307314b
--- /dev/null
+++ b/.config/zsh/.zlogout
@@ -0,0 +1,7 @@
+#
+# Commands executed by zsh on logout.
+#
+
+if [ $(id -u) -eq 0 ]; then
+ clear
+fi