From 9f0309e39485e6753d353ad80c00fadbaca4786f Mon Sep 17 00:00:00 2001 From: c0de Date: Thu, 22 Jun 2017 22:11:16 -0500 Subject: [PATCH] Add some install directories --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.sh b/install.sh index 479fb4e..9000756 100644 --- a/install.sh +++ b/install.sh @@ -37,6 +37,16 @@ ln -s ~/dotfiles/vimrc ~/.vimrc echo "Changing default shell to ZSH" chsh -s /usr/bin/zsh +# Check for ~/bin and create it if it doesn't exist +if [[ !-d ~/bin ]]; then + mkdir -p ~/bin +fi + +# Check for secret ~/dotfiles/.bin and create it if it doesn't exist +if [[ !-d ~/dotfiles/.bin ]]; then + mkdir -p ~/dotfiles/.bin +fi + echo "Install done." echo "Check tmux, vim, and your shell to verify everything is correct" echo "you may need to launch a new instance of your shell"