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

Commit 1218aeb

Browse files
committed
Wrap install script in function.
1 parent 5ca0df4 commit 1218aeb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## HEAD
44

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

78
## 2.0.2

install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
install_vimrc () {
2+
13
set -e
4+
set -u
25

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

@@ -93,3 +96,6 @@ echo | vim -c qall!; \
9396
echo -e "\033[32m ✔ Completed ❰ PlugInstall ❱ \033[0m"; \
9497
echo -e "\033[32m✔ Install complete! \033[0m"; \
9598
exit 0
99+
}
100+
101+
install_vimrc

0 commit comments

Comments
 (0)