$HOME/bin
Ondřej Vašík
ovasik at redhat.com
Mon Jul 13 12:08:55 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: 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?=
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20090713/e8bf7ad7/attachment.bin
More information about the devel
mailing list