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.
About

samf

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today