安装CygWin
安装cygwin的时候,顺便安装下面这些tool: tree, vim, wget, curl, tmux, lynx,
安装apt-cyg
lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin
安装zsh
# 安装zsh
apt-cyg install zsh
# 配置oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
# 修改cygwin的启动参数
C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico /bin/zsh --login
安装
安装top工具
apt-cyg install procps
配置vim
编辑.vimrc
set guifont=Lucida_Console:h10
set expandtab
set tabstop=4
set shiftwidth=4
set nobackup
set nu!
set nocompatible
配置tmux
alias xn="tmux new -s"
alias xa="tmux attach -t"
alias xl="tmux ls"
|