https://bugzilla.wikimedia.org/show_bug.cgi?id=65980

--- Comment #1 from Marc A. Pelletier <[email protected]> ---
This workaround /does/ work, but I should point out that it is generally not
recommended to have *any* output whatever in one's .bashrc as this is
implicitly sourced in numerous places (including subshells, remote invocations,
and even often through a simple invocation of the system() library call) and
may confused numerous tools or systems that spawn shells on the user's behalf -
including gridengine.

On the other hand, it is perfectly allowable to have commands that result in
output in one's .profile which is sourced only when an actual login session is
spawned.

Pro tip: I generally recommend to source .bashrc from one's .profile to avoid
shells ending up with different environment depending on how they are started;
this is accomplished by adding

. ~/.bashrc

at the end of the .profile.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to