Last active
March 2, 2021 15:34
-
-
Save jjercx/ef7a47c6fc6411fed038cfbeff28725c to your computer and use it in GitHub Desktop.
ZSH Config 2020-08
This file contains 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
# alias | |
alias ip="ipconfig getifaddr en0" | |
alias mac="ifconfig en1 | awk '/ether/{print $2}'" | |
# nvm | |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
# Android for React Native | |
export ANDROID_HOME=$HOME/Library/Android/sdk | |
export PATH=$PATH:$ANDROID_HOME/emulator | |
export PATH=$PATH:$ANDROID_HOME/tools | |
export PATH=$PATH:$ANDROID_HOME/tools/bin | |
export PATH=$PATH:$ANDROID_HOME/platform-tools | |
# rbenv | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
# ZSH config | |
export ZSH="/Users/juanjo/.oh-my-zsh" | |
ZSH_THEME="robbyrussell" | |
plugins=( | |
git | |
colored-man-pages colorize pip python brew osx | |
bundler dotenv osx rake rbenv ruby | |
) | |
source $ZSH/oh-my-zsh.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment