Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-09-16 06:19:45

nielsk
Member
Registered: 2014-09-14
Posts: 4

.zprofile isn't used

I hope this is the right place to ask. I am using zsh. For setting up my environment I am using a .zprofile and a .zshrc. The .zprofile is sourced before .zshrc.
That worked fine in OS X, it is working in Gnome and when I log in from remote. When I open a terminal emulator in XFce (I tried xfce-terminal and gnome-terminal) the .zprofile doesn't get sourced as it seems.
Any ideas what the problem could be?

Offline

#2 2014-09-16 23:20:43

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: .zprofile isn't used

I don't use zsh so take this answer with a grain of salt. With bash, .bash_profile and .bashrc are sourced during login. During an interactive shell (like when you start a terminal emulator) only .bashrc is sourced. I think the same goes with zsh (Reference link).

xfce4-terminal has a "Run command as login shell" option on the General tab in Preferences. I wonder whether this would source .zprofile for you automatically.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2014-09-17 08:56:30

nielsk
Member
Registered: 2014-09-14
Posts: 4

Re: .zprofile isn't used

I overread that part. Well, then I have to reconfigure stuff. Thanks smile

Offline

Board footer

Powered by FluxBB