Code Monkey home page Code Monkey logo

bash_profile's Introduction

export PATH=/usr/local/bin:$PATH export DYLD_FALLBACK_LIBRARY_PATH=/Applications/Postgres.app/Contents/MacOS/lib:$DYLD_LIBRARY_PATH source ~/.bashrc

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session as a function

alias nemrow='cd Dropbox/Foxes/Jordan\ Nemrow/Phase_3/' alias dev='cd Dropbox/Dev/' alias dbreset='rake db:drop && rake db:create && rake db:migrate && rake db:test:prepare' alias cuc='cucumber'

c_cyan=tput setaf 6 c_red=tput setaf 1 c_green=tput setaf 2 c_sgr0=tput sgr0

parse_git_branch () { if git rev-parse --git-dir >/dev/null 2>&1 then gitver=$(git branch 2>/dev/null| sed -n '/^*/s/^* //p') else return 0 fi echo -e $gitver }

branch_color () { if git rev-parse --git-dir >/dev/null 2>&1 then color="" if git diff --quiet 2>/dev/null >&2 then color="${c_green}" else color=${c_red} fi else return 0 fi echo -ne $color }

PS1='[[$(branch_color)]$(parse_git_branch)[${c_sgr0}]][${c_cyan}]\W[${c_sgr0}]: '

bash_profile's People

Contributors

nemrow avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.