Wednesday, August 7, 2013

Cyg box

Apt like command for cygwin.
 # svn --force export http://apt-cyg.googlecode.com/svn/trunk/ /bin/
  # chmod +x /bin/apt-cyg
  # apt-cyg install nano
 OS X like open command for cygwin. In the home folder of cygwin type:
echo "alias open='cygstart'" >> .bash_profile 
source .bash_profile
 usage example: 
  open file.pdf
It will open the default OS program for reading PDF files.