From 6247ef0d20c7a2c9302e9634476f54d23fd96150 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 9 Feb 2009 13:59:02 +0100 Subject: [PATCH] zshrc: Move more commented-out code to skel/.zshrc 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 | 6 ++++++ etc/zsh/zshrc | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 7915971..cb5ea8c 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -139,6 +139,12 @@ ## 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' diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 681d1d4..2d29498 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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. -- 2.1.4