#!/bin/zsh
# ====================[ zlogin                             ]====================
#                     [ Time-stamp: "2008-10-27 03:30:32 leycec" ]
# Run after "zprofile" and "zshrc", as final initialization for login shells.

# ....................{ DECONSTRUCTION                     }....................
# Destroy all existing temporary, connection-specific files.
#SSH_CONTROLMASTER_SOCKETS=$(~/tmp/ssh_controlmaster*);

#if [ $? == 0 ]; then
# for SSH_CONTROLMASTER_SOCKET in ~/tmp/ssh_controlmaster*; do
#   mv --force $SSH_CONTROLMASTER_SOCKET /tmp/
# done
#fi

# ....................{ SCREEN BLANKING                    }....................
# Disable screen blanking (via APM), VESA powersave, and VESA powerdown features
# on this virtual (vcs) console. These features often corrupt the display on
# framebuffer devices unable to adeptly change resolution-- particularly, the
# "aty128fb" framebuffer device on iBook G3 500Mhz LCDs.
#
# If the user is already running X.org, this does nothing.
[ -z "$DISPLAY" ] && setterm -powersave off -blank 0 -powerdown 0


