how to Add folder to environment variable for

Adding alias zf='/var/www/zf1_trunk/bin/' to .bash_profile should let you access the zf command line

at ~/.bash_profile
alias zf='/var/www/zf1_trunk/bin/'


asked Dec 17, 2013 in Zend by rajesh
0 votes

1 Answer

0 votes
Best answer

If you are using MAMP in MAC OS X

  1. Open Terminal
  2. in terminal type "vi .bash_profile"
  3. enter the line in editor

alias zf='/Applications/MAMP/bin/php/php5.3.6/bin/'

change location acc. to your software installation

  1. Exit Terminal
  2. Open terminal and then type zf


answered Dec 17, 2013 by rajesh
selected Mar 10, 2015 by rajesh