Skip to content

Instantly share code, notes, and snippets.

@jjercx
Created July 12, 2019 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjercx/77ec0626e6a8af78856fa8ae57cc05bd to your computer and use it in GitHub Desktop.
Save jjercx/77ec0626e6a8af78856fa8ae57cc05bd to your computer and use it in GitHub Desktop.
My `.zshrc` to this date
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
#export PATH=~/miniconda3/bin:$PATH
export PATH=$HOME/Developer/projects/dp2/laravel/vacasfelices/vendor/bin:$PATH
export GOPATH="${HOME}/go"
export GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
export AWS_REGION=us-east-1
export AWS_PROFILE=lf_dev
export POSTGRESQL_CONNECTION=postgresql://postgres:postgres@localhost/vulnerability_development?sslmode=disable
export ANDROID_HOME=/Users/juanjo/Library/Android/sdk
export PATH=$PATH:/Users/juanjo/Library/Android/sdk/build-tools/28.0.3
export ANDROID_SDK_ROOT=/Users/juanjo/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH/:$ANDROID_HOME/platform-tools
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" ] && . "/usr/local/opt/nvm/etc/bash_completion" # This loads nvm bash_completion
export ZSH=/Users/juanjo/.oh-my-zsh
ZSH_THEME="robbyrussell"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git git-open-pr)
source $ZSH/oh-my-zsh.sh
bindkey "^[^[[C" forward-word
bindkey "^[^[[D" backward-word
DISABLE_AUTO_TITLE="true"
tt () {
echo -e "\033];$@\007"
}
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
alias cdev="cd ~/Developer"
alias willax="tt 'willax server' && cd /Users/juanjo/Developer/projects/willax && foreman start"
alias hbh="tt 'hhb' && cd /Users/juanjo/Developer/projects/honeybee-health && foreman start"
export LANG=en_US.UTF-8
# Set Spaceship ZSH as a prompt
autoload -U promptinit; promptinit
prompt spaceship
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment