Skip to content

Commit

Permalink
fix(install): check arguments before installation (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
josh- authored and g-plane committed Mar 22, 2018
1 parent 84bd937 commit 3e6c7b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install.sh 100644 → 100755
@@ -1,3 +1,9 @@
if [ -z "$1" ]
then
echo "Plugins directory not specified, please pass your zsh plugins directory as a parameter."
exit 1
fi

if [ ! -d $1/yarn-autocompletions ]
then
mkdir $1/yarn-autocompletions
Expand Down

0 comments on commit 3e6c7b9

Please sign in to comment.