Last active
June 4, 2021 10:16
-
-
Save fx86/ef9137dbb3479be7226ab37ac9b19952 to your computer and use it in GitHub Desktop.
A bash script to make MacBook ready for data science
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install brew | |
ruby -e "$(curl -fsSL https://raw.zshhubusercontent.com/Homebrew/install/master/install)" | |
brew doctor | |
# install zsh | |
brew install zsh | |
# install wget using brew | |
brew install wget | |
# TODO: download LATEST anaconda version and install it | |
wget https://repo.anaconda.com/archive/Anaconda3-2019.03-MacOSX-x86_64.sh | |
# download tunnel blick VPN | |
wget https://tunnelblick.net/release/Latest_Tunnelblick_Stable.dmg | |
# install iterm2 with brew | |
brew cask install iterm2 | |
# install iterm2 fonts | |
brew tap caskroom/fonts && brew cask install font-source-code-pro | |
# download and install sublime text | |
brew cask install sublime-text | |
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl | |
# install 7zip | |
brew install p7zip | |
# brew install autojump | |
brew install autojump | |
# brew install spotify | |
brew cask install --appdir="/Applications" spotify | |
echo "[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh" >> ~/.bash_profile | |
# add shortcuts and 'source zshrc' to .bashrc | |
echo "source ~/.zshrc" >> ~/.bash_profile | |
echo "alias ll='ls -lrt'" >> ~/.bash_profile | |
echo "alias gitpullall='for b in `git branch -r | grep -v -- '->'`; do git branch --track ${b##origin/} $b; done'" >> ~/.bash_profile | |
source ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment