Add autistic 'gethub' script
This commit is contained in:
parent
fff198410d
commit
2a4ebb37f9
9
.local/bin/scripts/gethub
Executable file
9
.local/bin/scripts/gethub
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Autistic script for convert GitHub links into
|
||||
# links to raw files and download it via wget.
|
||||
|
||||
echo "$1" | sed '
|
||||
s/github.com/raw.githubusercontent.com/g;
|
||||
s/blob//g
|
||||
' | xargs -r wget
|
Loading…
x
Reference in New Issue
Block a user