Skip to content

Instantly share code, notes, and snippets.

@calebmer
Created November 14, 2018 21:56
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 calebmer/3f9b7eaa649ecd6a618a6e9e53d0e128 to your computer and use it in GitHub Desktop.
Save calebmer/3f9b7eaa649ecd6a618a6e9e53d0e128 to your computer and use it in GitHub Desktop.
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