Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Wrap install script in function.
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Aug 17, 2015
1 parent 5ca0df4 commit 1218aeb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## HEAD

- Wrap install script in function.
- Use `~/.vim/plugged.dev` for development mode.

## 2.0.2
Expand Down
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
install_vimrc () {

set -e
set -u

echo -e "\033[32m➤ Installing! \033[0m"

Expand Down Expand Up @@ -93,3 +96,6 @@ echo | vim -c qall!; \
echo -e "\033[32m ✔ Completed ❰ PlugInstall ❱ \033[0m"; \
echo -e "\033[32m✔ Install complete! \033[0m"; \
exit 0
}

install_vimrc

0 comments on commit 1218aeb

Please sign in to comment.