Unix Newbie

Rainer Müller raimue at macports.org
Mon Feb 11 14:52:20 PST 2008


Ryan Schmidt wrote:
> I prefer the TextWrangler editor, which is a normal Mac app available  
> from http://www.barebones.com/ . It's free and includes the "edit"  
> command so you just type e.g. "edit ~/.bash_profile" and it opens  
> that file into the editor.

Maybe we could include some advice like
  $ touch ~/.profile && open -e ~/.profile
which opens the file in TextEdit. The touch is needed in case the file 
does not exist at all. This might be much more comfortable for some 
users than using pico/nano/vim in Terminal.

Also other editors (like Smultron and TextMate) offer a binary for use 
in Terminal.

Rainer


More information about the macports-users mailing list