From 46447b5367f35b9561e46cd0b30e2557eb7e736b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 21 Oct 2011 01:57:38 +0200 Subject: [PATCH] bashrc: include /etc/profile instead of /etc/profile.d/* --- config/bashrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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