Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > .tcsh + MANPATH

.tcsh + MANPATH
Thread Tools
tjm
Fresh-Faced Recruit
Join Date: Apr 2000
Status: Offline
Reply With Quote
Oct 11, 2001, 01:41 PM
 
hi

I need 'specific' directions on placement and use of the .tcsh file....

I want to add a path to my default MANPATH - but am not sure how OSX handles all this.

There is a .login file - that I found - that has MANPATH defined in it - but you cannot modify this file unless you are root - and I dont think modifying this is the right way to do it...

Is there a preferred method of adding a new permanent MANPATH variable to the already exisitng ones?

Regards

Tj
     
Eugene
Senior User
Join Date: Nov 2000
Location: Berkeley, CA
Status: Offline
Reply With Quote
Oct 12, 2001, 07:11 AM
 
Editing /usr/share/init/tcsh/login will edit the settings tcsh defaults to for all users in your machine. If that's what you want, go ahead.

Otherwise, the traditional way would be to create a .tcshrc file in your home directory and put in the line

setenv MANPATH /new/path/to/man:$MANPATH

or something like that.

I suppose you could make a ~/Library/init/tcsh/login file and

source /usr/share/init/tcsh/login
in it and add whatever changes to the bottom.

Depends what you want to do...
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:26 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,