X-Git-Url: https://njoseph.me/gitweb/babashka-scripts.git/blobdiff_plain/acafde64a0503bc04bcdeff3bc8cd05e414eae93..30f43df559bd79e663919dd8d957b36303c7a8d8:/README.md diff --git a/README.md b/README.md index 6abd22a..fb44973 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,27 @@ Some tasks can also take arguments. bb ebook-to-audiobook the-great-gatsby.epub ``` -There are a utility file that makes running the tasks easier. Load it up first. -You can also add the following line with the absolute path to the file in your "~/.profile" file. +## Shell aliases ``` sh -source bb-aliases.sh +# bash, zsh +source /path/to/babashka-scripts/bb-aliases.sh +alias task = bb --config ~/dev/babashka-scripts/bb.edn + +# nu +source /path/to/babashka-scripts/bb-aliases.nu +alias task = bb --config ~/dev/babashka-scripts/bb.edn +``` + +*Example:* To pull all the repositories in a directory, run + +``` sh +task gpa . ``` +There is a utility `bbe` to run tasks in the current working directory in `bb-aliases.sh`. + + *Example:* To pull all the repositories in a directory, run ``` sh