diff --git a/.bash_profile b/.bash_profile index 0ed7c80..30f35d7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -4,6 +4,9 @@ [[ -f ~/.bashrc ]] && . ~/.bashrc + +# Set numlock if running in tty. +# (numlock for X is set in ~/.xinitrc) case $(tty) in /dev/tty[0-9]*) setleds -D +num ;; esac