Commit ac68c992 authored by nimrod's avatar nimrod
Browse files

- Added bfg shell function to download and run the bfg jar.

parent f0ca3a31
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -117,5 +117,10 @@ sync_comics () {
    rsync --recursive --compress --progress --exclude "*.part" "$last_month" "$this_month" "$HOME/Downloads/Comics/"
}

bfg () {
    [ -f "$HOME/Downloads/bfg.jar" ] || curl 'https://search.maven.org/remote_content?g=com.madgag&a=bfg&v=LATEST' -sLo "$HOME/Downloads/bfg.jar"
    java -jar "$HOME/Downloads/bfg.jar" "$@"
}

# shellcheck disable=SC1090
. "$HOME/Documents/Shore/bundle_certs/bundle_certs"