Permalink
Browse files

zsh: set (READ)NULLCMD and MANWIDTH

  • Loading branch information...
1 parent 245ad8c commit f459e913b74180ccfd8eed3b77be206b0dfee49d @majutsushi committed Mar 25, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 zsh/zsh/zshrc.d/15_variables
@@ -12,6 +12,11 @@ export LESS='-iRX-P%f ?m(file %i/%m) .lines %lt-%lb?L/%L. ?e(END)?x - Next\\: %x
export LESSHISTFILE=$XDG_CACHE_HOME/lesshst
export LESSKEY=$XDG_CACHE_HOME/less
+export NULLCMD=cat
+export READNULLCMD=${PAGER}
+
+export MANWIDTH=${MANWIDTH:-80}
+
eval $(dircolors -b $ZDOTDIR/dircolors) 2>/dev/null || :
# http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html

0 comments on commit f459e91

Please sign in to comment.