diff .bash_overrides @ 302:1a177f9b51d4

follow the damn redirects
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 14 May 2013 16:21:34 -0700
parents f890a12d8cf5
children fac01a1bcedf
line wrap: on
line diff
--- a/.bash_overrides	Tue May 14 13:25:45 2013 -0700
+++ b/.bash_overrides	Tue May 14 16:21:34 2013 -0700
@@ -99,7 +99,7 @@
 
     if expr "$1" : 'http[s]\?://.*' &> /dev/null
     then
-        curl "$1" 2> /dev/null | command lsdiff
+        curl --location "$1" 2> /dev/null | command lsdiff
     else
         lsdiff "$1"
     fi