Skip to content

Instantly share code, notes, and snippets.

@Jimeh87
Last active July 19, 2022 16:06
Show Gist options
  • Select an option

  • Save Jimeh87/892f47ccfd65453d7064ec7115bfc351 to your computer and use it in GitHub Desktop.

Select an option

Save Jimeh87/892f47ccfd65453d7064ec7115bfc351 to your computer and use it in GitHub Desktop.
Mac Setup
# Path to your oh-my-zsh installation.
export ZSH="/Users/jimrennie/.oh-my-zsh"
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE="nerdfont-complete"
POWERLEVEL9K_PROMPT_ON_NEWLINE=false
POWERLEVEL9K_RPROMPT_ON_NEWLINE=false
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir dir_writable vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status command_execution_time root_indicator background_jobs)
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{blue}\uf460%f "
POWERLEVEL9K_ROOT_ICON="\uF09C"
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M}"
POWERLEVEL9K_BATTERY_VERBOSE=false
POWERLEVEL9K_OS_COMMAND_EXECUTION_TIME_BACKGROUND="242"
POWERLEVEL9K_OS_COMMAND_EXECUTION_TIME_FOREGROUND="248"
POWERLEVEL9K_OS_ICON_BACKGROUND="242"
POWERLEVEL9K_OS_ICON_FOREGROUND="248"
POWERLEVEL9K_BATTERY_LOW_BACKGROUND="242"
POWERLEVEL9K_BATTERY_LOW_FOREGROUND="210"
POWERLEVEL9K_BATTERY_CHARGING_BACKGROUND="242"
POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND="222"
POWERLEVEL9K_BATTERY_CHARGED_BACKGROUND="242"
POWERLEVEL9K_BATTERY_CHARGED_FOREGROUND="222"
POWERLEVEL9K_BATTERY_DISCONNECTED_BACKGROUND="242"
POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND="248"
POWERLEVEL9K_STATUS_OK_BACKGROUND="242"
POWERLEVEL9K_STATUS_OK_FOREGROUND="215"
POWERLEVEL9K_STATUS_ERROR_BACKGROUND="242"
POWERLEVEL9K_STATUS_ERROR_FOREGROUND="210"
POWERLEVEL9K_DIR_HOME_BACKGROUND="110"
POWERLEVEL9K_DIR_HOME_FOREGROUND="236"
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND="110"
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="236"
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND="110"
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="236"
POWERLEVEL9K_SHORTEN_STRATEGY=truncate_from_right
POWERLEVEL9K_SHORTEN_DIR_LENGTH=3
POWERLEVEL9K_VCS_CLEAN_BACKGROUND='187'
POWERLEVEL9K_VCS_CLEAN_FOREGROUND='236'
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='180'
POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND='236'
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='174'
POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='236'
POWERLEVEL9K_VCS_GIT_ICON='\uF408 '
POWERLEVEL9K_VCS_GIT_GITHUB_ICON='\uF408 '
ZSH_DISABLE_COMPFIX=true
ENABLE_CORRECTION="false"
plugins=(
golang
bgnotify
docker
docker-compose
copyfile
copydir
encode64
extract
git
mercurial
iterm2
osx
docker
gradle
npm
heroku
jira
mvn
yarn
zsh-autosuggestions
zsh-syntax-highlighting
zsh-completions
)
source $ZSH/oh-my-zsh.sh
# xcode - app store
# docker for mac - google it
# home brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# browsers
brew install firefox
brew install google-chrome
# git
brew install git
- ssh-keygen -t rsa
- pbcopy < ~/.ssh/id_rsa.pub
# java
curl -s "https://get.sdkman.io" | bash
- Setup appropriate java
or
brew install jenv
# hotkey window manipulator
brew install spectacle
- Open and follow instructions.
- Check open on startup
# IM
brew install slack
# nodejs and npm
brew install node@12
- Setup npmrc file if needed
- npm config set registry nexus-repo -g
# yarn
brew install yarn
# gitkraken
brew install gitkraken
#intellij
brew install jetbrains-toolbox
- Open app and install apps
- Lombok
# button in finder to go to shell
brew install go2shell
- Run it
# vs code
brew install visual-studio-code
# gradle
brew install gradle
# maven
brew install maven
- settings.xml
# postman
brew install postman
# vlc
brew install vlc
# See dotfiles in finder - run in terminal:
defaults write com.apple.finder AppleShowAllFiles YES
# Increase key repeat speed - run in terminal:
defaults write NSGlobalDomain KeyRepeat -int 2
"terminal.integrated.shell.osx": "/bin/zsh",
"terminal.external.osxExec": "iTerm.app",
"terminal.integrated.shell.osx": "/bin/zsh",
"terminal.integrated.fontFamily": "Hack Nerd Font",
"terminal.integrated.lineHeight": 1.3
# When complete:
# 1. change font in iterm2 to hack nerd font
# 2. Go through iterm2 settings. Things like infinite scroll
# 3. Replace .zshrc file with .zshrc file in gist
brew install iterm2
brew tap homebrew/cask-fonts
brew install font-hack-nerd-font
brew install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
brew install terminal-notifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment