Skip to content

Instantly share code, notes, and snippets.

@blacksun1
Created April 18, 2017 01:04
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 blacksun1/55887600841017ebecec435fe6fa3135 to your computer and use it in GitHub Desktop.
Save blacksun1/55887600841017ebecec435fe6fa3135 to your computer and use it in GitHub Desktop.
#!/bin/zsh
# NVM
export NVM_DIR="/home/simon/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# CDGIT!
function cdgit() {
echo ' ________.______________ '
echo ' / _____/| \__ ___/ '
echo '/ \ ___| | | | '
echo '\ \_\ \ | | | '
echo ' \______ /___| |____| '
echo ' \/ '
cd ~/repos/
ls
}
# Disable heap dumps from core api. FYI https://github.com/bnoordhuis/node-heapdump
export NODE_HEAPDUMP_OPTIONS=nosignal
# Add AWS cli app location to path (pip user folder)
export PATH=~/.local/bin:${PATH}
# Setup GO
export GOROOT=/usr/local/go
# export GOPATH=$HOME/Projects/Proj1
# export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
export PATH=${GOROOT}/bin:${PATH}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment