#!/usr/bin/env bash # ask for password before all the scripts sudo echo "ask for password before all the scripts" # install homebrew /usr/bin/ruby -e "(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # install oh-my-zsh brew install zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # set .zshrc wget -O $HOME/.zshrc https://gist.github.com/sftom/a20f6dcb4c16d5015d1c1453ee6b78aa/raw/31a9d2f31fb83e2b4ccb4218d81391f639e0f091/.zshrc # install oh-my-zsh plugins git clone https://github.com/djui/alias-tips.git $HOME/.oh-my-zsh/custom/plugins/alias-tips git clone https://github.com/supercrabtree/k $HOME/.oh-my-zsh/custom/plugins/k git clone https://github.com/rupa/z $HOME/.oh-my-zsh/custom/plugins/z git clone https://github.com/Valiev/almostontop.git $HOME/.oh-my-zsh/custom/plugins/almostontop git clone https://github.com/zsh-users/zsh-completions $HOME/.oh-my-zsh/custom/plugins/zsh-completions git clone https://github.com/zsh-users/zsh-syntax-highlighting $HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.oh-my-zsh/custom/plugins/zsh-autosuggestions sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)" ## Some utils brew install vim neovim coreutils findutils wget perl curl tree tig git socat ssh-copy-id htop mosh rlwrap maven httpie pv vim nvim hugo go pandoc cocoapods brew tap caskroom/cask ## Some apps brew cask install qutebrowser mactex visual-studio-code google-chrome docker virtualbox vagrant vagrant-manager the-unarchiver free-download-manager android-studio flutter obs mkdir -p $HOME/.config && mkdir -p $HOME/.config/nvim wget -O $HOME/.config/nvim/init.vim https://gist.github.com/sftom/a20f6dcb4c16d5015d1c1453ee6b78aa/raw/77df05d759e9e0adf2a9344af7633d048328e50e/init.vim # setup dev env mkdir -p $HOME/code # node.js git clone https://github.com/tj/n.git $HOME/code/n cd $HOME/code/n && make install sudo chown -R $USER /usr/local # Not secure if on a server n lts # pure prompt & other goodies npm install -g pure-prompt browser-sync eslint diff-so-fancy ntl ghwd ## MAC CLI # sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/install)" ## FONTS brew tap caskroom/fonts brew cask install font-fira-code git clone https://github.com/powerline/fonts.git $HOME/code/fonts cd $HOME/code/fonts && ./install.sh