#
# ALT Linux zlogout configuration file for zsh(1).
# This file is run when an interactive session ends.
# Place custom options into ~/.zlogout.
#

if [ "${TERM-}" = linux ]; then
	case "$TTY" in
		/dev/tty[0-9]*|/dev/vc/*|/dev/xvc*)
			# Historically some VT environments on ALT Linux did
			# not reset the VT on logout. To be fair, nowadays
			# they should; still, we're leaning on the safe side,
			# just as bash does as of 2021-02-27.
			clear ;;
	esac
fi
