Skip to content

Instantly share code, notes, and snippets.

@grosscol
Created September 10, 2015 18:05
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 grosscol/bc88cf7660ffcdd96f25 to your computer and use it in GitHub Desktop.
Save grosscol/bc88cf7660ffcdd96f25 to your computer and use it in GitHub Desktop.
Piece of bashrc for dev on tang.
# If logging into tang, cd to dev
if [[ $HOSTNAME = 'tang.umdl.umich.edu' ]]; then
# Add rbenv init script evaluation
eval "$(rbenv init -)"
# Set rbenv version for this shell
rbenv shell 2.2.1
# Alias bundle exec as bunx
alias bunx='bundle exec'
# Change to dev directory
cd /quod-dev/dev/grosscol
# Add fits to path
PATH="$PATH":/l/local/fits/fits-0.8.4/
export PATH
# Add engine cart template to path. Sufia and Curation Concerns convenience
ENGINE_CART_TEMPLATE="https://raw.githubusercontent.com/mlibrary/rails-templates/engine_cartography/engine_temple.rb"
export ENGINE_CART_TEMPLATE
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment