Added Homebrew ruby path

Sun, 07 Aug 2011 03:36:29 -0400

author
Ryan McKern <ryan@orangefort.com>
date
Sun, 07 Aug 2011 03:36:29 -0400
changeset 65
f2c1b7738705
parent 64
c4b4cd4d7d8f
child 66
a4f6cffba483

Added Homebrew ruby path
Edited "statuscode" function

bash_profile.sh file | annotate | diff | revisions
     1.1 --- a/bash_profile.sh	Tue Jul 26 02:08:21 2011 -0400
     1.2 +++ b/bash_profile.sh	Sun Aug 07 03:36:29 2011 -0400
     1.3 @@ -129,7 +129,7 @@
     1.4        pathmunge /opt/local/bin before
     1.5        pathmunge /usr/local/sbin before
     1.6        pathmunge /usr/local/bin before
     1.7 -      pathmunge /Library/Frameworks/Python.framework/Versions/Current/bin before
     1.8 +      pathmunge /usr/local/Cellar/ruby/*/bin before
     1.9        pathmunge /Developer/Tools after
    1.10        pathmunge /usr/local/mysql/bin after
    1.11  
    1.12 @@ -217,7 +217,7 @@
    1.13  
    1.14    # Return the status code and effective, post-redirected state of a URL
    1.15    function statuscode(){
    1.16 -    curl -sIL -w "%{url_effective} %{http_code}\n" "${1}" -o /dev/null
    1.17 +    curl -sIL -w "%{url_effective}\t%{http_code}\n" "${1}" -o /dev/null
    1.18    }
    1.19    
    1.20    # sorted list of the contents of PWD or $1

mercurial