aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxero <x@xero.nu>2016-01-13 22:16:39 -0500
committerxero <x@xero.nu>2016-01-13 22:16:39 -0500
commit9f4de4f63ab4cf493cf62f8b36b6002c304d8ecb (patch)
tree712ad943c75c84df8931ce3051478a86835795ea
parent527836e5c50029cf2d9299353358ba6a36ca102d (diff)
downloaddotfiles_ascii-9f4de4f63ab4cf493cf62f8b36b6002c304d8ecb.tar.xz
dotfiles_ascii-9f4de4f63ab4cf493cf62f8b36b6002c304d8ecb.zip
make regex less specific
-rwxr-xr-xbin/bin/gitio2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bin/gitio b/bin/bin/gitio
index 293ac4f..ef6bba3 100755
--- a/bin/bin/gitio
+++ b/bin/bin/gitio
@@ -43,7 +43,7 @@ optstest() {
found=0
for arg in "$@"
do
- if echo $arg | cut -d/ -f3 | grep -q "github.com\|raw.githubusercontent.com"
+ if echo $arg | cut -d/ -f3 | grep -q "github.com\|githubusercontent.com"
then
GHURL=$arg
found=1