From d68bd507539321b3f93b123a49ef1eb6edf2c75b Mon Sep 17 00:00:00 2001 From: eadler Date: Tue, 6 Nov 2012 00:55:43 +0000 Subject: [PATCH] MFC r242514,r242541: Revert the change that makes less default. Since I've committed this I've receieved roughly an equal amount of email thanking me for making this change and asking me to revert it. I've resisted making this change because new users tend to prefer less over more and these users are the least likely to know how to change the PAGER on their own. Requested by: many Objected to: just as many Decision made by: core ==== Change default prompt to show ~ again for the home directory Approved by: cperciva (implicit) git-svn-id: svn://svn.freebsd.org/base/stable/9@242643 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- etc/root/dot.cshrc | 4 ++-- share/skel/dot.cshrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc index b6658259c..5ce3e362b 100644 --- a/etc/root/dot.cshrc +++ b/etc/root/dot.cshrc @@ -18,7 +18,7 @@ umask 22 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) setenv EDITOR vi -setenv PAGER less +setenv PAGER more setenv BLOCKSIZE K if ($?prompt) then @@ -26,7 +26,7 @@ if ($?prompt) then if ($uid == 0) then set user = root endif - set prompt = "%n@%m:%/ %# " + set prompt = "%n@%m:%~ %# " set promptchars = "%#" set filec diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc index b6658259c..5ce3e362b 100644 --- a/share/skel/dot.cshrc +++ b/share/skel/dot.cshrc @@ -18,7 +18,7 @@ umask 22 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) setenv EDITOR vi -setenv PAGER less +setenv PAGER more setenv BLOCKSIZE K if ($?prompt) then @@ -26,7 +26,7 @@ if ($?prompt) then if ($uid == 0) then set user = root endif - set prompt = "%n@%m:%/ %# " + set prompt = "%n@%m:%~ %# " set promptchars = "%#" set filec -- 2.45.0