Sam Falkner's WeblogSam Falkner's Weblog |
|
Sunday May 25, 2008
goodbye MANPATH
I don't usually blog about every config file change I make, but here's one I'm particularly happy with, as it's removing a kludge. This is a change made to my zsh configuration that only runs on Solaris:
-
-# Sun's annoying man command...
-
-manpath=(/usr/share/man)
-
-for dir in $path
-do
- mdir=${dir%/*}/man
- test -d $mdir && manpath=($manpath $mdir)
-done
I was happy to play a very small roll in this putback to Nevada. Thanks Mike! Posted at 11:18PM May 25, 2008 by samf in Solaris | Comments:
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||