Skip to content

Instantly share code, notes, and snippets.

@blecher-at
Last active April 25, 2020 21:40
Show Gist options
  • Save blecher-at/3065077da02211aea50b to your computer and use it in GitHub Desktop.
Save blecher-at/3065077da02211aea50b 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
@aagha
Copy link

aagha commented Dec 8, 2017

How do you install the font?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment