[
  {
    "path": "README.md",
    "content": "# Warning: Deprecated\r\n\r\n# OH MY CYGWIN\r\n\r\nLooking for a real Terminal for Windows?\r\nRelax you just found it. This sets up a working ZSH Shell powered by [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) and the [apt-cyg](http://code.google.com/p/apt-cyg/) package manager.\r\n\r\nI took care of installing and configuring some packages so that you have vim, git and ssh just one keystroke away.\r\n\r\n# Setup\r\n\r\nInstall [cygwin](http://www.cygwin.com/) with wget (check wget in the installation process) then start cygwin and execute \r\n\r\n    wget --no-check-certificate https://raw.github.com/haithembelhaj/oh-my-cygwin/master/oh-my-cygwin.sh -O - | sh\r\n\r\nEt Voila!\r\nYour windows Terminal will look like this\r\n\r\n![oh-my](https://coderwall-assets-0.s3.amazonaws.com/uploads/picture/file/1297/oh-my-cygwin.PNG \"OH-MY-OH-MY\")\r\n"
  },
  {
    "path": "oh-my-cygwin.sh",
    "content": "#!/bin/bash\nset -e\n\n# cd home\ncd ~\n\nSIMPLE_BACKUP_SUFFIX=\".orig\"\nAPT_CYG=\"$(mktemp /tmp/apt-cyg.XXXXXXXX)\"\n\n# install apt-cyg\nwget --no-check-certificate \"https://github.com/john-peterson/apt-cyg/raw/path/apt-cyg\" -O \"${APT_CYG}\"\nchmod +x \"${APT_CYG}\"\n\n# install some stuff like vim and git\n\"${APT_CYG}\" install zsh mintty vim curl git openssh\n\n\n# install OH MY ZSH\ngit clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh\n\n# Create initial /etc/zshenv\n[[ ! -e /etc/zshenv ]] && echo export PATH=/usr/bin:\\$PATH > /etc/zshenv\n\ninstall --backup ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc\n\n#setting up vim\nVIMRC_EXAMPLE=`find /usr/share/vim -type f -name vimrc_example.vim | head -n 1`\nif [ ! -f ~/.vimrc ] && [ -n \"${VIMRC_EXAMPLE}\" ]\nthen\n  install \"${VIMRC_EXAMPLE}\" ~/.vimrc\nfi\n\n# install apt-cyg\ninstall --backup \"${APT_CYG}\" /bin/apt-cyg\n\n# setting up zsh as default\nsed -i \"s/$USER\\:\\/bin\\/bash/$USER\\:\\/bin\\/zsh/g\" /etc/passwd\n\n# et voila just start it\n/usr/bin/env zsh\n"
  }
]