安装 git for windows, 得到 git bash
将 Git 安装路径下 bin 目录里的 vim 改名备份, 在系统 Path 里将 vim.exe 所在路径加入
| # source this file before use fab | |
| # copy from github.com/jjanyan/joshix and modified | |
| _fab_completion() { | |
| COMPREPLY=() | |
| # Fabfile in this folder? | |
| [[ -e fabfile.py ]] || [[ -e fabfile/__init__.py ]] || return 0 | |
| local cur="${COMP_WORDS[COMP_CWORD]}" |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| sudo mount -t vboxsf WorkSpace ~/workspace | |
| # WorkSpace 是 VirtualBox 里设定的共享目录名, 非 Windows 下的文件路径或文件名 | |
| # ~/workspace 目录在 mount 前需要创建好 |