Skip to content

Instantly share code, notes, and snippets.

@devinrhode2
Created April 18, 2019 21:19
Show Gist options
  • Save devinrhode2/4e08b25b48883df3a33633ca734e0f6c to your computer and use it in GitHub Desktop.
Save devinrhode2/4e08b25b48883df3a33633ca734e0f6c to your computer and use it in GitHub Desktop.
highlights from my zshrc
## INSTALLATION
# Make this your ~/.zshrc file and make sure to do the zgen install steps here:
# https://github.com/tarjoilija/zgen#installation
# You'll also need to change the default shell to zsh: https://github.com/robbyrussell/oh-my-zsh#4-change-your-default-shell
export PATH=$PATH:/Users/rhoded/Desktop/Archive2/Visual\ Studio\ Code.app/Contents/Resources/app/bin
ulimit -n 10240 unlimited
export HOMEBREW_NO_ANALYTICS=1
export LT_HOME=/Applications
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:~/bin:$PATH
source ~/.zgen/zgen.zsh
# check if there's no init script
if ! zgen saved; then
echo "Creating a zgen save"
zgen oh-my-zsh
# plugins
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/sudo
zgen oh-my-zsh plugins/command-not-found
zgen load zsh-users/zsh-syntax-highlighting
# completions
zgen load zsh-users/zsh-completions src
# theme
zgen oh-my-zsh themes/arrow
# save all to init script
zgen save
fi
export http_proxy=http://ldap:pw@corpuser.corp.biworldwide.com:8080
export https_proxy=http://ldap:pw@corpuser.corp.biworldwide.com:8080
export HTTP_PROXY=http://ldap:pw@corpuser.corp.biworldwide.com:8080
export HTTPS_PROXY=http://ldap:pw@corpuser.corp.biworldwide.com:8080
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
fpath=(/usr/local/homebrew/completions/zsh $fpath)
fpath=(/usr/local/homebrew/share/zsh-completions $fpath)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment