LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Terminal: how to make it read user environment (https://www.linuxquestions.org/questions/slackware-14/terminal-how-to-make-it-read-user-environment-757186/)

Ramurd 09-23-2009 02:48 AM

Terminal: how to make it read user environment
 
I've been searching for a while now, and it keeps annoying me: while i like the Terminal application that comes with Slack 13, I just can't seem to make it read /etc/profile, ~/.profile, ~/.bash_profile or ~/.bashrc

Since I really like the settings, like showing me the directory I'm in rather than having a PS1 that shows which version of Bash I'm running (if I wanted to know that bash --version would give far more information anyway).

Anyone who has a clue how to make Terminal (it seems to be a xfce application) read a proper environment?

slakmagik 09-23-2009 02:56 AM

Are you sure it's not reading ~/.bashrc? In order to get it to read ~/.bash_profile, you'd need to make it run as a login shell, but it should pick up your ~/.bashrc.

How are you starting X? Which DE/WM? It's possible your DM is messing things up, but then you should have the same problems in all terminal emulators.

Ramurd 09-23-2009 04:10 AM

ack, I thought I had tried out about all options, seems like I missed .bashrc - works now ;-)
I start KDE through KDM, I pretty much left the system mostly on the defaults, as most of it works for me ;-)

Thanks


All times are GMT -5. The time now is 12:22 AM.