# # ~/.bash_profile # [[ -f ~/.bashrc ]] && . ~/.bashrc # Do these things if in tty0-tty9 case $(tty) in /dev/tty[0-9]*) setleds -D +num # (numlock for X is set in ~/.xinitrc) ;; esac # To maximize scope, env vars are set in ~/.pam_environment