Accueil > Non classé > From Linux to Mac OS X – Tip 1 : The Aliases

From Linux to Mac OS X – Tip 1 : The Aliases

Here are a serie of tips when developing under Mac OS X after mostly 8 years in the Linux word.

First tip : The aliases in the Terminal (because I really think that the Terminal is cool :o ) )

1. Create a .profile file in your $HOME folder
cd $HOME
touch .profile

2. Add aliases in this .profile file
pico .profile
and then syntax is alias foo=’bar’. For example, here are some of my aliases :
alias tx=’open /Applications/TextEdit.app/’
alias mvn2=’/Users/chamerling/Developpement/bin/mvn/apache-maven-2.0.10/bin/mvn’
alias meclipse=’mvn2 eclipse:eclipse’
alias mpetals=’mvn2 archetype:generate -DarchetypeCatalog=http://petals.ow2.org’

Share and Enjoy:
  • Digg
  • Google Bookmarks
  • del.icio.us
  • Facebook
  • StumbleUpon
  • email
Categories: Non classé Tags:
  1. Pas encore de commentaire
  1. Pas encore de trackbacks