Organizational Research By

Surprising Reserch Topic

how to Add folder to environment variable for zf.sh


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

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

 


asked Dec 17, 2013 in Zend by rajesh
0 votes
68 views



Related Hot Questions

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/zf.sh'

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

...