Skip to content

Commit

Permalink
Update install info.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 5, 2017
1 parent d37672a commit 2561f60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ $ mkdir ~/.vim/plugged

```bash
# 安装 vim-web
curl -sLf https://raw.githubusercontent.com/jaywcjlove/vim-web/master/install | bash
curl -sLf https://raw.githubusercontent.com/jaywcjlove/vim-web/master/install | bash -s -- install
# 卸载 vim-web
curl -sLf https://raw.githubusercontent.com/jaywcjlove/vim-web/master/install | bash -s -- uninstall
```
Expand Down
6 changes: 3 additions & 3 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ usage () {
echo " VimWeb install script : ${Version}v0.1.0"
echo " "
echo -e " ${Blue}Install VimWeb for vim${Color_off}"
echo " curl -sLf https://raw.githubusercontent.com/jaywcjlove/vim-web/master/install | bash"
echo " curl -sLf https://raw.githubusercontent.com/jaywcjlove/vim-web/master/install | bash -s -- install"
echo " "
echo -e " ${Blue}Uninstall VimWeb${Color_off}"
echo " curl -sLf https://raw.githubusercontent.com/jaywcjlove/vim-web/master/install | bash -s -- uninstall"
Expand All @@ -83,10 +83,10 @@ need_cmd () {
fetch_repo () {
if [[ -d "$HOME/.VimWeb" ]]; then
git --git-dir "$HOME/.VimWeb/.git" pull
echo -e "${Blue}Successfully update VimWeb${Color_off}"
echo -e "${Blue}Successfully update .VimWeb${Color_off}"
else
git clone https://github.com/jaywcjlove/vim-web.git "$HOME/.VimWeb"
echo -e "${Blue}Successfully clone VimWeb${Color_off}"
echo -e "${Blue}Successfully clone .VimWeb${Color_off}"
fi
}

Expand Down

0 comments on commit 2561f60

Please sign in to comment.