Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 104763
Collapse All | Expand All

(-)gentoo/csh.cshrc (-3 / +6 lines)
Lines 1-6 Link Here
1
## Gentoo csh.cshrc
1
## Gentoo csh.cshrc
2
##
2
##
3
## 2005-09-29 -- Fabian Groffen (grobian@gentoo.org)
3
## 2005-11-10 -- Fabian Groffen (grobian@gentoo.org)
4
##   * Disabled sourcing environment defaults and additional settings
5
##     when having a non-interactive shell.  Bug #104763
6
## 2005-09-29 -- Fabian Groffen
4
##   * Initial version of a complete redo of this file to fix many bugs
7
##   * Initial version of a complete redo of this file to fix many bugs
5
##     and resolve many annoyances experienced by numerous users
8
##     and resolve many annoyances experienced by numerous users
6
##
9
##
Lines 8-14 Link Here
8
##
11
##
9
## Load the environment defaults.
12
## Load the environment defaults.
10
##
13
##
11
if ( -r /etc/csh.env ) then
14
if ( $?prompt && -r /etc/csh.env ) then
12
    source /etc/csh.env
15
    source /etc/csh.env
13
endif
16
endif
14
17
Lines 55-61 Link Here
55
##
58
##
56
## Source extensions
59
## Source extensions
57
##
60
##
58
if ( -d /etc/profile.d ) then
61
if ( $?prompt && -d /etc/profile.d ) then
59
	set nonomatch
62
	set nonomatch
60
	foreach i ( /etc/profile.d/*.csh )
63
	foreach i ( /etc/profile.d/*.csh )
61
		if ( -r $i ) then
64
		if ( -r $i ) then

Return to bug 104763