Re: Debianly Correct place to add ~/bin to $PATH ?
On Mon, 2013-12-09 at 12:15 -0700, Paul E Condon wrote:
> I've just done a fresh netinst of Wheezy and want to proceed with my
> personal configuring in a way that is not fighting with the Debian
> view of how things should be done. I've used Debian since Potato, I
> think, but have always hacked things until they seemed to be
> working. Now, I want to try to do things in the way the developers had
> in mind when they built the install CD images.
>
> I see the file ~/.profile . It contains code that tests for the
> existence of ~/bin/ and adds it to $PATH , if it exists. But it
> doesn't 'work'. After I have created my ~/bin/. and filled it with
> some scripts, and rebooted, there is still no mention of ~/bin/ in
> $PATH . Why? When does ~/.profile actually get invoked?
I don't know if this is 'the correct way' but what I do is create the
file ~/.xsessionrc to invoke ~/.profile like:
. /home/tixy/.profile
I don't know where I picked that method up from originally, it's just in
my notes of the steps for installing Debian on a new machine.
--
Tixy
Reply to: