Last active
November 28, 2017 16:41
-
-
Save thatkookooguy/584a67dbb718a058b1b3dd71fc70cd3d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ###COLORS### | |
| BLUE='\x1B[0;34m' | |
| NC='\x1B[0m' # No Color | |
| brew install zsh zsh-completions md5sha1sum fortune toilet jq ghi gnu-sed | |
| gem install wkhtmltoimage-binary | |
| # Install oh-my-zsh and switch default shell to zsh | |
| sudo curl -L http://install.ohmyz.sh | sudo sh | |
| chsh -s $(which zsh) | |
| # Install powerline fonts for theme compatability | |
| mkdir tmp_tmp | |
| cd tmp_tmp | |
| git clone https://github.com/powerline/fonts.git | |
| ./fonts/install.sh | |
| cd ~ | |
| rm -rf ~/tmp_tmp | |
| # install powerlevel9k theme | |
| git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k | |
| # change zsh theme | |
| echo "Which ZSH theme do you want to use?" | |
| select yn in "agnoster" "powerlevel9k"; do | |
| case $yn in | |
| agnoster ) gsed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="agnoster"/' .zshrc; break;; | |
| powerlevel9k ) gsed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="powerlevel9k\/powerlevel9k"/' .zshrc; break; | |
| esac | |
| done | |
| # INSTALL & SETUP iTERM | |
| brew cask install iterm2 | |
| # setup iterm shell integration | |
| SHELL=$(which zsh) | |
| curl -L https://iterm2.com/shell_integration/zsh -o ~/.iterm2_shell_integration.zsh | |
| source ~/.iterm2_shell_integration.zsh | |
| # get the iterm2 config file | |
| cd ~ | |
| git clone https://github.com/Thatkookooguy/dotfiles.git | |
| # now we can set up iTerm2 to get the correct profile file | |
| defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/dotfiles/iterm2" | |
| defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true | |
| echo "${BLUE}=========================" | |
| echo "thatkookooguy's .zshrc file is located in ~/dotfiles. If you want to use it, move it to the ~/ folder or copy specific sections" | |
| echo "~= ENJOY! =~${NC}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment