Re: $HOME/bin

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

 



Stefan Assmann wrote:
> Hi all,
> 
> I was wondering why there's no $HOME/bin directory and $HOME/bin not
> mentioned in the $PATH variable. Any particular reason not to have that
> by default?

$HOME/bin is not on every system and the other default directories in
default PATH are(at least on the most of systems ;) ). However, some
Linux distros do add something as:
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
as default - so this dir gets added automatically when does exist.
I'm generally +1 for changing the default that way - as it would not
change anything for users without that directory.

Greetings,
         Ondřej Vašík

Attachment: signature.asc
Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?=

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux