Skip to content

Commit

Permalink
merge from less
Browse files Browse the repository at this point in the history
  • Loading branch information
liaohuqiu committed Jun 14, 2016
2 parents 2328718 + 769a2de commit 2ff4a81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ It will output something like:

####TODO

**It's done now, ctag will be install on different platforms**

In mac, should replace the [`Exuberant CTags`](http://www.scholarslab.org/research-and-development/code-spelunking-with-ctags-and-vim/)

brew install ctags
Expand Down
8 changes: 8 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ exe_cmd "ln -sf $root_dir/files/_vimrc $vim_rc"

exe_cmd 'git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim'
exe_cmd 'vim +PluginInstall +qall'

if type "brew" > /dev/null 2>&1; then
exe_cmd "brew install ctags"
elif type "yum" > /dev/null 2>&1; then
exe_cmd "sudo yum install -y ctags"
elif type "apt-get" > /dev/null 2>&1; then
exe_cmd "sudo apt-get install exuberant-ctags"
fi

0 comments on commit 2ff4a81

Please sign in to comment.