zshrc: Move more commented-out code to skel/.zshrc
authorFrank Terbeck <ft@bewatermyfriend.org>
Mon, 9 Feb 2009 12:59:02 +0000 (13:59 +0100)
committerFrank Terbeck <ft@bewatermyfriend.org>
Mon, 9 Feb 2009 13:04:18 +0000 (14:04 +0100)
This time: $cdpath and $MANWIDTH

All commented-out examples should go into the skel file, because users
should make their specific changes in ~/.zshrc.pre and ~/.zshrc.local.
Having examples in the global rc file would encourage to make changes
there. Besides, commented-out examples make the setup harder to read and
to maintain.

etc/skel/.zshrc
etc/zsh/zshrc

index 7915971..cb5ea8c 100644 (file)
 
 ## miscellaneous code ##
 
+## Use a default width of 80 for manpages for more convenient reading
+#export MANWIDTH=${MANWIDTH:-80}
+
+## Set a search path for the cd builtin
+#cdpath=(.. ~)
+
 ## variations of our manzsh() function; pick you poison:
 #manzsh()  { /usr/bin/man zshall |  most +/"$1" ; }
 #[[ -f ~/.terminfo/m/mostlike ]] && MYLESS='LESS=C TERMINFO=~/.terminfo TERM=mostlike less' || MYLESS='less'
index 681d1d4..2d29498 100644 (file)
@@ -512,12 +512,6 @@ fi
 # do Fink setup on darwin
 isdarwin && xsource /sw/bin/init.sh
 
-# set width of man pages to 80 for more convenient reading
-# export MANWIDTH=${MANWIDTH:-80}
-
-# Search path for the cd command
-#  cdpath=(.. ~)
-
 # completion functions go to /etc/zsh/completion.d
 # function files may be put into /etc/zsh/functions.d, from where they
 # will be automatically autoloaded.