From 1c36e426ff63ed89bc18be1e9d2b12f72042ea64 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 21 Jan 2016 16:12:31 -0600 Subject: [PATCH] Only set numlock if on tty0-tty9 --- .bash_profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 8bf6db6..0ed7c80 100644 --- a/.bash_profile +++ b/.bash_profile @@ -4,4 +4,6 @@ [[ -f ~/.bashrc ]] && . ~/.bashrc -setleds -D +num +case $(tty) in /dev/tty[0-9]*) + setleds -D +num ;; +esac