Sam Falkner's Weblog

Sam 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!

Comments:

Post a Comment:
Comments are closed for this entry.

Archives
Links
Referrers