public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] /etc/profile
@ 2002-11-28  0:50 messdev
  2002-11-28  7:15 ` Alexander Gretencord
  0 siblings, 1 reply; 10+ messages in thread
From: messdev @ 2002-11-28  0:50 UTC (permalink / raw
  To: gentoo-dev

Why exporting global variables' mechanism is so complicated? It is not very 
,,user friendly'' to edit /etc/env.d/00basic to change some global variables, 
whitch then go to /etc/profile.env and then to /etc/profile... It's not 
intuitively. Or maybe there is some simpler way to edit it?


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-dev] /etc/profile
@ 2001-12-03  1:52 Zach Forrest
  2001-12-03  2:16 ` jano
  2001-12-03 23:55 ` Juergen Ilse
  0 siblings, 2 replies; 10+ messages in thread
From: Zach Forrest @ 2001-12-03  1:52 UTC (permalink / raw
  To: gentoo-dev

I noticed some discussion in November about /etc/profile, but it seems
to have trailed off. Are there any objections to adding the following?

if [ -e "${HOME}/.bash_profile" ]; then
      . ${HOME}/.bash_profile
fi


- Zach




^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-dev] /etc/profile
@ 2001-01-14 15:48 Morgan Christiansson
  0 siblings, 0 replies; 10+ messages in thread
From: Morgan Christiansson @ 2001-01-14 15:48 UTC (permalink / raw
  To: gentoo mailing list

$PS1 var:

I think this should be the opposite, if the user isn't root let the user
know who they are.

And if they are root, give them the "supershell" without the user-name.


if [ `/usr/bin/whoami` == 'root' ] ; then
         export PS1='\[\033[01;32;40m\]\u@\h \[\033[01;34;40m\]\W 
 >\[\033[00m\]'
         export PATH=/sbin:/usr/sbin:$PATH
else
         export PS1='\[\033[01;34;40m\]\W > \[\033[00m\]'
         export PATH=$PATH
fi

----------------------------------------------------------------------

ls alias:

I think "alias ls='ls --color=auto'" should be in /etc/profile.

Most other distros have it and besides, it's a lot more readable.

I saw there were other aliases such as "alias d='ls --color'" but i've
never used them.

-- 
Morgan Christiansson



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-11-30 15:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28  0:50 [gentoo-dev] /etc/profile messdev
2002-11-28  7:15 ` Alexander Gretencord
2002-11-28 23:07   ` messdev
2002-11-29 23:38     ` [gentoo-dev] /etc/profile Paul
2002-11-30 15:41     ` [gentoo-dev] /etc/profile Martin Schlemmer
  -- strict thread matches above, loose matches on Subject: below --
2001-12-03  1:52 Zach Forrest
2001-12-03  2:16 ` jano
2001-12-03  3:02   ` Zach Forrest
2001-12-03 23:55 ` Juergen Ilse
2001-01-14 15:48 Morgan Christiansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox