We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent effa7f6 commit 2220ce8Copy full SHA for 2220ce8
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## HEAD
4
+
5
+- Wrap install script in function.
6
7
## 1.0.0
8
9
- Add development mode using Gulp.
install.sh
@@ -1,10 +1,14 @@
+install_tmuxrc () {
set -e
if ! [ -n "$TMUX" ]; then
echo -e "\033[31m✘ Must run in a tmux session to install!"
exit 1
fi
10
+set -u
11
12
echo -e "\033[32m➤ Installing! \033[0m"
13
14
command -v git >/dev/null 2>&1 \
@@ -61,3 +65,6 @@ echo -e "\033[32m ✔ Completed ❰ Install Plugins ❱ \033[0m"
61
65
echo -e "\033[32m✔ Install complete! \033[0m"
62
66
63
67
exit 0
68
+}
69
70
+install_tmuxrc
0 commit comments