Skip to content
Snippets Groups Projects
Commit f3cbf073 authored by nimrod's avatar nimrod
Browse files

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

parent 957d46f3
No related branches found
No related tags found
No related merge requests found
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment