Adam, Here are the contents of the end of my .cshrc file (I use the tcsh shell also).
# MacPorts Installer addition on 2010-04-26_at_08:19:26: adding an appropriate PATH variable for use with MacPorts. setenv PATH /opt/local/bin:/opt/local/sbin:$PATH # Finished adapting your PATH environment variable for use with MacPorts. If you start up a new terminal (or xterm), if tcsh is not your default shell then adding those contents to your .cshrc file will not help. -Sterling On Apr 30, 2013, at 9:19PM, Adam Neather wrote: > Found the exact command I'd worked out myself in the documentation! > 'man port' then produced the correct man page. I restarted my Terminal > but now 'man port' produces the same 'no entry' error, and now when I > run 'export PATH=etc.' the Terminal says there's no such command as > export. > > Grr. I thought we had it for a moment. > > On 01/05/2013, Adam Neather <[email protected]> wrote: >> This is where we start to reach the limits of my Terminal Fu! To >> change my tsch start up files as suggested, would I run >> >> export PATH=/opt/local/bin:opt/local/sbin:$PATH >> >> ? >> >> >> On 01/05/2013, Lawrence Velázquez <[email protected]> wrote: >>> On Apr 30, 2013, at 11:32 PM, Adam Neather <[email protected]> wrote: >>> >>>> I've tried modifying my default shell by changing the Startup Run >>>> command in the Shell options of Terminal's Preferences to /bin/bash, >>>> but I still get tcsh when I run 'echo $SHELL'. >>> >>> Undo that setting; that's not how you change the default shell. >>> >>>> If I can manage to change the shell properly would that solve my >>>> problem? >>> >>> It might, but why not just change your tcsh startup files manually? Put >>> /opt/local/bin and /opt/local/sbin at the front of $PATH. >>> >>> vq >> >> >> -- >> cheers much, >> >> Adam >> > > > -- > cheers much, > > Adam > _______________________________________________ > macports-users mailing list > [email protected] > https://lists.macosforge.org/mailman/listinfo/macports-users _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
