Created
November 14, 2018 21:56
-
-
Save calebmer/3f9b7eaa649ecd6a618a6e9e53d0e128 to your computer and use it in GitHub Desktop.
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
export PS1="\[\033[0m\]\W \[\033[00;95m\]❯\[\033[0m\] " | |
# export EDITOR="code -r" | |
export CLICOLOR=1 | |
export TERM=xterm-color | |
function nm_notify_done() { | |
previous=$? | |
if [ $previous -eq 0 ]; then | |
osacript -e "display notification \"Done\" with title \"Node Modules Install\""; | |
else | |
osacript -e "displau notification \"Failed\" with title \"Node Modules Install\""; | |
fi | |
} | |
function nm() { | |
rm -rf node_modules | |
yarn --pure-lockfile | |
nm_notify_done | |
} | |
alias bp="vim ~/.bash_profile && source ~/.bash_profile" | |
# Misc | |
export PATH=$PATH:~/Software/bin | |
export PATH=$PATH:~/.local/bin | |
# GitHub | |
alias git=hub | |
# npm | |
export NPM_PACKAGES=~/Software/npm | |
export PATH=$PATH:$NPM_PACKAGES/bin | |
# yarn | |
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" | |
# n | |
export N_PREFIX=~/Software/n | |
export PATH=$N_PREFIX/bin:$PATH | |
# Postgres | |
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin | |
# Rust | |
export PATH=$PATH:~/.cargo/bin | |
export RUST_SRC_PATH=~/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src | |
# RabbitMQ | |
export PATH=$PATH:/usr/local/sbin | |
# go | |
export GOPATH=~/Software/go | |
export PATH=$PATH:/usr/local/go/bin | |
export PATH=$PATH:$GOPATH/bin | |
# Gulp | |
eval "$(gulp --completion=bash)" | |
# React |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment