-
-
Save lolow/5161129 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download cygwin setup.exe from http://www.cygwin.com/setup.exe and install with wget package. | |
# | |
# Run cygwin.bat with Administrator rights | |
cd /tmp | |
wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg | |
chmod +x apt-cyg | |
mv apt-cyg /bin/apt-cyg | |
# make local disk mounts available under root (instead of /cygdrives) | |
echo "none / cygdrive binary,posix=0,user 0 0" >> /etc/fstab | |
cat /etc/fstab | |
##### Shell ###### | |
apt-cyg install zsh mintty openssh | |
# Create initial /etc/zshenv | |
[[ ! -e /etc/zshenv ]] && echo export PATH=/usr/bin:\$PATH > /etc/zshenv | |
wget --no-check-certificate https://github.com/mhoyer/oh-my-zsh/raw/master/tools/install.sh -O - | sh | |
##### Tooling ###### | |
apt-cyg -u install vim curl | |
##### Development ###### | |
apt-cyg -u install colordiff patch | |
apt-cyg -u install mercurial | |
apt-cyg -u install git openssh git-completion git-gui gitk | |
apt-cyg -u install git-svn subversion | |
##### Extensions ####### | |
apt-cyg -u install mc | |
##### Further steps ###### | |
# linkd dropbox/cygwin/home -> /home/mhoyer | |
# vi /etc/passwd # change bash -> zsh | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment