diff --git a/config/bashrc b/config/bashrc index 70dec06..051540a 100644 --- a/config/bashrc +++ b/config/bashrc @@ -40,11 +40,7 @@ if [ "$PS1" ]; then fi if ! shopt -q login_shell ; then # We're not a login shell - for i in /etc/profile.d/*.sh; do - if [ -r "$i" ]; then - . $i + if [ -r /etc/profile ]; then + . /etc/profile fi - done - unset i fi -# vim:ts=4:sw=4