2016-01-20 17:06:54 +00:00
|
|
|
#
|
|
|
|
# ~/.bash_profile
|
|
|
|
#
|
|
|
|
|
|
|
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
|
|
|
|
2017-02-16 08:23:49 +00:00
|
|
|
# Do these things if in tty0-tty9
|
2016-01-21 22:12:31 +00:00
|
|
|
case $(tty) in /dev/tty[0-9]*)
|
2017-02-16 08:23:49 +00:00
|
|
|
setleds -D +num # (numlock for X is set in ~/.xinitrc)
|
2017-02-08 22:59:33 +00:00
|
|
|
;;
|
2016-01-21 22:12:31 +00:00
|
|
|
esac
|
2020-05-27 17:08:11 +00:00
|
|
|
|
|
|
|
# Add home bin folder to $PATH
|
|
|
|
PATH=$PATH:~/bin
|
2020-06-04 20:30:11 +00:00
|
|
|
|
|
|
|
# Redirect npm global installs to user folder instead
|
|
|
|
# Ref: https://wiki.archlinux.org/index.php/Node.js#Allow_user-wide_installations
|
|
|
|
PATH="$HOME/.node_modules/bin:$PATH"
|
|
|
|
export npm_config_prefix=~/.node_modules
|