From 4c4ab34b1f403ff5d94281f4cf7d2b980f4291ed Mon Sep 17 00:00:00 2001 From: Steffen Rademacker Date: Mon, 20 Jan 2020 14:34:15 +0100 Subject: [PATCH] Update all install scripts for catalina --- install/cli-tools.sh | 4 ---- install/install.sh | 25 +------------------------ install/office.sh | 5 +---- install/software.sh | 15 +++++---------- 4 files changed, 7 insertions(+), 42 deletions(-) diff --git a/install/cli-tools.sh b/install/cli-tools.sh index 8e037a4..b20b915 100755 --- a/install/cli-tools.sh +++ b/install/cli-tools.sh @@ -15,16 +15,12 @@ brew install nss brew install openssl brew install php@7.3 brew install ripgrep -brew install youtube-dl -read -p "Press any key to continue... " -n1 -s # dnsmasq echo 'address=/.localhost/127.0.0.1' > /usr/local/etc/dnsmasq.conf sudo brew services start dnsmasq sudo mkdir -v /etc/resolver sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/localhost' -read -p "Press any key to continue... " -n1 -s # php sudo pecl install imagick -read -p "Press any key to continue... " -n1 -s diff --git a/install/install.sh b/install/install.sh index 13c6223..ee5a93b 100755 --- a/install/install.sh +++ b/install/install.sh @@ -1,11 +1,8 @@ #!/usr/bin/env bash - # install xcode and other software from the app store # everything neccessary first - command line tools xcode-select --install -read -p "Press any key to continue... " -n1 -s - # install homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew doctor @@ -13,7 +10,6 @@ brew tap homebrew/services # brew paths export PATH=/usr/local/bin:/usr/local/sbin:$PATH -read -p "Press any key to continue... " -n1 -s # install some neccessary brew packages brew install clipper @@ -24,12 +20,10 @@ brew install python brew install tmux brew install ruby brew install zsh -read -p "Press any key to continue... " -n1 -s # install all submodules git submodule init git submodule update -read -p "Press any key to continue... " -n1 -s # link the dotfiles mkdir ~/.config @@ -42,44 +36,27 @@ ln -s ~/dotfiles/nvim ~/.config/nvim ln -s ~/dotfiles/tmux.conf ~/.tmux.conf ln -s ~/dotfiles/zsh ~/.zsh ln -s ~/dotfiles/zsh/zshrc ~/.zshrc -read -p "Press any key to continue... " -n1 -s # install fzf /usr/local/opt/fzf/install -read -p "Press any key to continue... " -n1 -s - -# this is the minimal software and fonts used -brew cask install caskroom/fonts/font-fira-code -brew cask install forklift -brew cask install hammerspoon -read -p "Press any key to continue... " -n1 -s # clipper mkdir -p ~/Library/LaunchAgents brew services start clipper -read -p "Press any key to continue... " -n1 -s # install deps + plugins for neovim pip3 install neovim curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh sh installer.sh ~/.config/nvim/dein -read -p "Press any key to continue... " -n1 -s rm installer.sh # set xterm/screen terminals to enable italic fonts in terminal -tic ~/dotfiles/other/xterm-256color.terminfo -read -p "Press any key to continue... " -n1 -s - # set terminal to xterm-256color! # now restart your terminal and hope for the best -read -p "Now set terminal to xterm-256color, restart and hope for the best..." -n1 -s +tic ~/dotfiles/other/xterm-256color.terminfo # set zsh to the default sudo vim /etc/shells -read -p "Press any key to continue... " -n1 -s chsh -s /usr/local/bin/zsh -read -p "Press any key to continue... " -n1 -s /usr/bin/env zsh -read -p "Press any key to continue... " -n1 -s sudo launchctl config user path $PATH -read -p "Press any key to continue... " -n1 -s diff --git a/install/office.sh b/install/office.sh index 8d8887e..d757ba9 100755 --- a/install/office.sh +++ b/install/office.sh @@ -6,15 +6,13 @@ brew install isync brew install khard brew install msmtp brew install mu -brew install neomutt/neomutt/neomutt --with-gpgme +brew install neomutt brew install ripmime brew install w3m brew install vdirsyncer -read -p "Press any key to continue... " -n1 -s # python dependencies (for mutt) sudo pip3 install -I urlscan -read -p "Press any key to continue... " -n1 -s mkdir ~/Contacts mkdir ~/Mail @@ -25,4 +23,3 @@ ln -s ~/dotfiles/office/mbsyncrc ~/.mbsyncrc ln -s ~/dotfiles/office/msmtprc ~/.msmtprc ln -s ~/dotfiles/office/khard ~/.config/khard ln -s ~/dotfiles/office/vdirsyncer ~/.vdirsyncer -read -p "Press any key to continue... " -n1 -s diff --git a/install/software.sh b/install/software.sh index c8a2d3f..c605fc4 100755 --- a/install/software.sh +++ b/install/software.sh @@ -1,17 +1,15 @@ #!/usr/bin/env bash brew tap buo/cask-upgrade -brew tap homebrew/cask-drivers -read -p "Press any key to continue... " -n1 -s - -# brew cask and install software brew cask install 1password brew cask install alfred -brew cask install bill +# brew cask install bill TODO brew cask install carbon-copy-cloner brew cask install dash brew cask install doxie brew cask install firefox +brew cask install forklift brew cask install google-chrome +brew cask install hammerspoon brew cask install imagealpha brew cask install imageoptim brew cask install kap @@ -26,17 +24,14 @@ brew cask install spotify brew cask install telegram brew cask install vlc brew cask install vmware-fusion -read -p "Press any key to continue... " -n1 -s # Drivers and other software -brew cask install ubiquiti-unifi-controller -read -p "Press any key to continue... " -n1 -s +brew tap homebrew/cask-fonts +brew cask install font-fira-code # set some options for qlcolorcode defaults write org.n8gray.QLColorCode font "Fira Code" defaults write org.n8gray.QLColorCode fontSizePoints 9 defaults write org.n8gray.QLColorCode hlTheme blacknblue defaults write org.n8gray.QLColorCode extraHLFlags '--replace-tabs=2' -read -p "Press any key to continue... " -n1 -s qlmanage -r -read -p "Press any key to continue... " -n1 -s