Last active
June 19, 2020 12:04
-
-
Save mimarz/30269ec6bdd9b685ad0568b285c8dd14 to your computer and use it in GitHub Desktop.
useful script & files
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
| export ZSH=/Users/michael.marszalek/.oh-my-zsh | |
| export HOMEBREW_GITHUB_API_TOKEN=<add-token-here> | |
| export NVM_DIR="$HOME/.nvm" | |
| [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm | |
| [ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion | |
| # Theme | |
| ZSH_THEME="" | |
| # Styling | |
| zstyle ':completion:*' menu select | |
| # Plugins | |
| plugins=(git z zsh-syntax-highlighting zsh-completions docker dotenv) | |
| source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
| source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh | |
| fpath+=~/.zfunc | |
| fpath=(~/.zsh/completion $fpath) | |
| autoload -U compinit && compinit | |
| # Reload changes | |
| source $ZSH/oh-my-zsh.sh | |
| # Initialize Pure prompt, https://github.com/sindresorhus/pure | |
| autoload -U promptinit; promptinit | |
| prompt pure | |
| # Aliases | |
| alias c="code ." | |
| alias pull="git stash && git pull && git stash pop" | |
| alias gprune="git remote prune origin && git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}' | xargs git branch -D" | |
| # https://github.com/nvbn/thefuck/wiki/Shell-aliases | |
| eval $(thefuck --alias) | |
| # Sets docker to use docker-machine running in parallels | |
| eval $(docker-machine env prl-dev) |
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
| #!/bin/sh | |
| # Homebrew Script for OSX | |
| # To execute: save and `chmod +x ./brew-install-script.sh` then `./brew-install-script.sh` | |
| echo "Installing brew..." | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| echo "Installing brew cask..." | |
| brew tap caskroom/cask | |
| brew install node | |
| brew install elm | |
| brew cask install betterzipql qlcolorcode qlimagesize qlmarkdown qlstephen qlvideo quicklook-csv quicklook-json | |
| brew install git | |
| brew install docker | |
| brew cask install github-desktop | |
| brew install httpie | |
| brew cask install kitematic | |
| brew cask install insomnia | |
| brew cask install iterm2 | |
| brew cask install visual-studio-code | |
| brew cask install figma | |
| brew cask install alfred | |
| brew cask install slack | |
| brew cask install microsoft-edge | |
| brew cask install dropbox | |
| brew cask install rocket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment