Skip to content

Instantly share code, notes, and snippets.

@Kali-lightsaber
Forked from blecher-at/cygwin.png
Created February 27, 2020 17:01
Show Gist options
  • Save Kali-lightsaber/1ed0faf4c83230f8d53bde64d4bc17fd to your computer and use it in GitHub Desktop.
Save Kali-lightsaber/1ed0faf4c83230f8d53bde64d4bc17fd to your computer and use it in GitHub Desktop.
My cygwin setup
install cygwin and: zsh, curl, wget, git, mintty, vim:
vim /etc/passwd and set your shell to /bin/zsh
install oh-my-zsh from my fork (with the performant git theme)
git clone https://github.com/blecher-at/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Change the cygwin shortcut to use mintty
C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -
Install the consolas powerline font https://github.com/runsisi/consolas-font-for-powerline/blob/master/Powerline%20Consolas.ttf
Install (to your ~) my .minttyrc from https://gist.githubusercontent.com/blecher-at/63e4d01e058c762e632d/raw/.minttyrc (based on the beautiful solarized color scheme)
Install vim-pathogen (simple package manager for vim) https://github.com/tpope/vim-pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
Install vim airline and colors
ln -fs /usr/bin/vim /usr/bin/vi
cd ~/.vim/bundle
git clone https://github.com/bling/vim-airline.git
git clone https://github.com/altercation/vim-colors-solarized
use git with colors:
git config color.ui true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment