Date: Tue, 29 May 2007 13:18:42 +0200 From: "Niclas Zeising" <niclas.zeising@gmail.com> To: "Ceri Davies" <ceri@submonkey.net> Cc: cvs-src@freebsd.org, Doug Barton <dougb@freebsd.org>, src-committers@freebsd.org, cvs-all@freebsd.org, "Simon L. Nielsen" <simon@freebsd.org> Subject: Re: cvs commit: src/etc/root dot.profile Message-ID: <bc292860705290418g6c359b00g7337ae31a4854ede@mail.gmail.com> In-Reply-To: <20070529104349.GW2095@submonkey.net> References: <200705290633.l4T6XCCr005107@repoman.freebsd.org> <20070529101515.GU2095@submonkey.net> <20070529103345.GB1041@zaphod.nitro.dk> <20070529104349.GW2095@submonkey.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 5/29/07, Ceri Davies <ceri@submonkey.net> wrote: > On Tue, May 29, 2007 at 12:33:46PM +0200, Simon L. Nielsen wrote: > > On 2007.05.29 11:15:15 +0100, Ceri Davies wrote: > > > On Tue, May 29, 2007 at 06:33:11AM +0000, Doug Barton wrote: > > > > dougb 2007-05-29 06:33:11 UTC > > > > > > > > FreeBSD src repository > > > > > > > > Modified files: > > > > etc/root dot.profile > > > > Log: > > > > Remove X11R6 from the default PATH to join the new world order. > > > > > > > > While I'm here, make the default PATH match that in the csh profile, > > > > and login.conf. > > > > > > sh doesn't support ~ expansion, does it? > > > > Seems to work fine for me: > > > > [simon@benji:~] sh > > $ echo ~simon > > /home/simon > > $ echo ~/ > > /home/simon/ > > Yeah, Monday and all. > > (Yes, I'm aware it's not Monday, but yesterday was a public holiday > here, so it counts!). > The same change should probably be done to /root/etc/dot.cshrc and the files in share/skel as well... Something along the lines of attached patch pherhaps? Regards! //Niclas [-- Attachment #2 --] Index: src/share/skel/dot.cshrc =================================================================== RCS file: /home/ncvs/src/share/skel/dot.cshrc,v retrieving revision 1.13 diff -u -r1.13 dot.cshrc --- src/share/skel/dot.cshrc 10 Jan 2001 17:35:28 -0000 1.13 +++ src/share/skel/dot.cshrc 29 May 2007 11:16:04 -0000 @@ -14,7 +14,7 @@ # A righteous umask umask 22 -set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin) +set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) setenv EDITOR vi setenv PAGER more Index: src/share/skel/dot.profile =================================================================== RCS file: /home/ncvs/src/share/skel/dot.profile,v retrieving revision 1.21 diff -u -r1.21 dot.profile --- src/share/skel/dot.profile 7 Jul 2002 00:00:54 -0000 1.21 +++ src/share/skel/dot.profile 29 May 2007 11:16:04 -0000 @@ -6,7 +6,7 @@ # # remove /usr/games and /usr/X11R6/bin if you want -PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; export PATH +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH # Setting TERM is normally done through /etc/ttys. Do only override # if you're sure that you'll never log in via telnet or xterm or a Index: src/etc/root/dot.cshrc =================================================================== RCS file: /home/ncvs/src/etc/root/dot.cshrc,v retrieving revision 1.29 diff -u -r1.29 dot.cshrc --- src/etc/root/dot.cshrc 1 Apr 2004 19:28:00 -0000 1.29 +++ src/etc/root/dot.cshrc 29 May 2007 11:16:04 -0000 @@ -14,7 +14,7 @@ # A righteous umask umask 22 -set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin) +set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) setenv EDITOR vi setenv PAGER morehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc292860705290418g6c359b00g7337ae31a4854ede>
