Skip to content

Instantly share code, notes, and snippets.

@marinomeneghel
Last active October 1, 2020 16:29
Show Gist options
  • Save marinomeneghel/8e0425e369b17d350ea8155e564f6d85 to your computer and use it in GitHub Desktop.
Save marinomeneghel/8e0425e369b17d350ea8155e564f6d85 to your computer and use it in GitHub Desktop.
#
# Installing few nice tools to start using a new mac
#
#!/bin/zsh
echo "***********************************"
echo "Installing homebrew"
echo "***********************************"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "***********************************"
echo "Brewing iTerm2"
echo "***********************************"
brew cask install iterm2
echo "***********************************"
echo "Brewing firefox dev edition"
echo "***********************************"
brew cask install firefox-developer-edition
echo "***********************************"
echo "Brewing git"
echo "***********************************"
brew install git
echo "***********************************"
echo "Brewing tig"
echo "***********************************"
brew install tig
echo "***********************************"
echo "Installing a beautiful vim distribution :P"
echo "***********************************"
curl https://raw.github.com/marinomeneghel/vimpeppers/master/install.sh -L -o - | sh
echo "***********************************"
echo "Installing android SDK"
echo "***********************************"
brew cask install android-sdk
echo "***********************************"
echo "Installing android SDK"
echo "***********************************"
brew cask install android-studio
echo "***********************************"
echo "Installing prezto framework on ZSH shell"
echo "***********************************"
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
echo source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" >> .zshrc
echo "***********************************"
echo "Brewing jumput multiclipboard"
echo "***********************************"
brew cask install jumpcut
echo "***********************************"
echo "Brewing tunnelblick"
echo "***********************************"
brew cask install tunnelblick
echo "***********************************"
echo "Brewing tmux"
echo "***********************************"
brew install tmux
echo "***********************************"
echo "Brewing aws client"
echo "***********************************"
brew install awscli
echo "***********************************"
echo "Brewing BitWarden"
echo "***********************************"
brew cask install bitwarden
echo "***********************************"
echo "Brewing Signal"
echo "***********************************"
brew cask install signal
echo "***********************************"
echo "Brewing Slack"
echo "***********************************"
brew cask install slack
echo "***********************************"
echo "Brewing Java"
echo "***********************************"
brew install jenv
jenv enable-plugin export
exec $SHELL -l
brew tap adoptopenjdk/openjdk
brew cask install adoptopenjdk
echo "***********************************"
echo "Enable subscring history search with ctrl+R"
echo "***********************************"
echo "HISTSIZE=10000" >> .zshrc
echo "SAVEHIST=10000" >> .zshrc
echo "HISTFILE=~/.zsh_history" >> .zshrc
echo "bindkey -v" >> .zshrc
echo "bindkey '^R' history-incremental-search-backward" >> .zshrc
##
# TODO
# * abd setup
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment