Terminal Customization
The following tutorial will setup an alias, ped, that you can type on the command line to open your editor of choice directly from the terminal.
Mac
  - Open your terminal and type 
ls -a 
  - You should see either a file named .bash_profile or .profile (likely in Yosemite).
    
      - If there is no file named .bash_profile or .profile, type 
touch .bash_profile 
    
   
  - Open this file in your editor: 
open -a textwrangler .bash_profile or open -a textwrangler .profile 
  - Add the following line to your .bash_profile: 
alias ped='open -a textwrangler' 
  - Save the file, close the terminal, & reopen the terminal
 
  - Try it out by typing 
ped 
VirtualBox (should already be setup)
  - Open your terminal and type 
ls -a 
  - Open .bashrc file in your editor: 
gedit .bashrc & 
  - If it’s not already at the top of the file, add the following line to your .bashrc: 
ped() { gedit "$@" & } 
  - Save the file, close the terminal, & reopen the terminal
 
  - Try it out by typing 
ped