commit daea1973037f6d26e97c2944602b17495e95b92e parent 27584da2d80858f7c804acdfdb180d63ee8f95f7 Author: Anders Damsgaard <andersd@riseup.net> Date: Thu, 28 Sep 2017 13:27:49 -0400 do not ask to install individual casks. remove legacy code Diffstat:
M | init/30_osx_casks.sh | | | 10 | +++++----- |
M | install.sh | | | 21 | ++++----------------- |
2 files changed, 9 insertions(+), 22 deletions(-)
diff --git a/init/30_osx_casks.sh b/init/30_osx_casks.sh @@ -36,10 +36,10 @@ read -p "Do you want to install brew casks? [y/n] " -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]]; then for cask in "${casks[@]}"; do - read -p "Do you want to install $cask? [y/n] " -n 1 -r - echo - if [[ $REPLY =~ ^[Yy]$ ]]; then - brew cask install $cask - fi + #read -p "Do you want to install $cask? [y/n] " -n 1 -r + ##echo + #if [[ $REPLY =~ ^[Yy]$ ]]; then + brew cask install $cask + #fi done fi diff --git a/install.sh b/install.sh @@ -1,22 +1,9 @@ #!/bin/sh -#set -e # Create symlinks ./create_symlinks.sh -# Clone zsh syntax highlighting and git prompt -mkdir -p $HOME/code && cd $HOME/code && \ -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git -git clone https://github.com/olivierverdier/zsh-git-prompt.git - -cd ~/bin && curl -OL https://raw.github.com/richo/battery/master/bin/battery &&\ - chmod +x ~/bin/battery - -# Install vim-plug -curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ - https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ - https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - -# Install Python GDB configuration -curl -OL git.io/.gdbinit +# Run initialization scripts +for s in init/*.sh; do + bash $s; +done