Re: Alt+F2 doesn't find scripts in ~/bin



Am 28.08.2011 14:31, schrieb Maciej Marcin Piechotka:
On Sun, 2011-08-28 at 13:23 +0200, Ralph Hofmann wrote:
I can start my scripts in ~/bin from the terminal, because I have added 
~/bin to PATH.

However from Alt+F2 the scripts are not found.

Is there anything, I can do about it?
Q1: Are there in the shell path. If they are just added
to .bashrc/.zshrc/etc. it won't work.

I use the trick:
% cat .xsessionrc 
source $HOME/.profile
% cat .zshrc
...
source $HOME/.profile
% cat .profile
if [ x$_PROFILE_SET != x_PROFILE_SET ]; then
export _PROFILE_SET=_PROFILE_SET

...
fi

Regards


_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list

I just have:

export PATH="$HOME/bin:$PATH"

in my .bashrc.

I don't understand what your trick is doing. How does your .profile look like? I don't have any .profile.

Ralph




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]