docs:bash:profile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:bash:profile [2013/05/09 11:10] – [svn] billhdocs:bash:profile [2013/05/09 11:12] (current) billh
Line 15: Line 15:
 export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
 export HOME=/cygdrive/h export HOME=/cygdrive/h
 +</code>
 +
 +===== php =====
 +<code bash>
 +################################################################################
 +# PHP STUFF
 +################################################################################
 +# lint (syntax) check all php files from current dir recursively
 +function lcphp()
 +{
 + find . -name "*.php" | while read file;do
 + #php -l "${file}"
 + /cygdrive/c/php5.2.9/php.exe -c c:\\php5.2.9\\php.ini -l "${file}"
 + done
 +}
 </code> </code>
  
  • docs/bash/profile.1368119427.txt.gz
  • Last modified: 2013/05/09 11:10
  • by billh