cvs commit: src/etc/root dot.profile
Niclas Zeising
niclas.zeising at gmail.com
Tue May 29 11:43:51 UTC 2007
On 5/29/07, Ceri Davies <ceri at 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 at 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
-------------- next part --------------
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 more
More information about the cvs-src
mailing list