bashrc/.bash_profile

14 lines
249 B
Bash
Raw Normal View History

2016-01-20 17:06:54 +00:00
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
# Do these things if in tty0-tty9
2016-01-21 22:12:31 +00:00
case $(tty) in /dev/tty[0-9]*)
setleds -D +num # (numlock for X is set in ~/.xinitrc)
;;
2016-01-21 22:12:31 +00:00
esac
2020-05-27 17:08:11 +00:00
# To maximize scope, env vars are set in ~/.pam_environment