zprofile: ensure code is executed only on Grml as a live-system
[grml-desktop.git] / etc / skel / .zprofile
1 # handle automatic X.org/grml-x startup on Grml live system
2 if [ -r /etc/grml_cd ] ; then
3   [[ -z "$DISPLAY" && -n "$XDG_VTNR" && "$XDG_VTNR" -eq 7 ]] && grml-x
4 fi