Our Blog

Make Textmate your $EDITOR of choice

If you are a master of Vim and feel like a sea-change, or if you're just plain scared, you can set up Textmate as your default editor.

Whack this in your .profile (e.g. ~/.bash_profile), re-source it ( source ~/.bash_profile ), and off you go.

Loading mentions Retweet
Filed under  //   git   osx   textmate  
Posted by Glenn Roberts 

Comments [0]

Get those cheeky bash variables out of there

Wanting to "unexport" a bash shell variable, after several minutes too long trying to find the man page for 'export', I finally found the hard way to do it;

 
export -n VAR_NAME 

or

 
unset VAR_NAME 

or


(Im just kidding about the latter)


Or if you're a smart cookie, you can just make a bash alias like this;

 
alias unexport='unset' 

Loading mentions Retweet
Filed under  //   bash   linux   osx  
Posted by Glenn Roberts 

Comments [0]