Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Global env vars not loaded
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Fuuzetsu
n00b
n00b


Joined: 20 Jul 2012
Posts: 14
Location: Bath, UK

PostPosted: Sat Jan 19, 2013 12:41 pm    Post subject: Global env vars not loaded Reply with quote

Hey. I have a $SBCL_HOME set in /etc/env.d/50sbcl

My issue is that it doesn't get set at all when I start a new shell (zsh). echo $SBCL_HOME produces no output (empty line); trying the same in bash produces the same result. The variable DOES get set when I run `. /etc/profile' though.

What am I doing wrong with my set-up? Here are the commands I tried to see what's going on

Code:
✓ ShanaX61s shana % echo $SBCL_HOME                                          % [P ~ ] [J 0 ] [L 1 ]
 
✓ ShanaX61s shana % bash                                                     % [P ~ ] [J 0 ] [L 2 ]
shana@ShanaX61s ~ $ echo $SBCL_HOME
 
shana@ShanaX61s ~ $ exit
✓ ShanaX61s shana % . /etc/profile                                           % [P ~ ] [J 0 ] [L 3 ]
shana@ShanaX61s $ echo $SBCL_HOME                                            % [P ~ ] [J 0 ] [L 4 ]
/usr/lib/sbcl
shana@ShanaX61s $ zsh                                                        % [P ~ ] [J 0 ] [L 5 ]
✓ ShanaX61s shana % echo $SBCL_HOME                                          % [P ~ ] [J 0 ] [L 1 ]
/usr/lib/sbcl
✓ ShanaX61s shana %       


Is there something in particular that I need to put in my .zshrc? I can't find any information on this issue on the web. As far as I know, it should Just Work(TM) and that's what pretty much all of the sites I had a look on seem to imply.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum