]> njoseph.me Git - babashka-scripts.git/blame - README.md
self-updater: Add missing when function
[babashka-scripts.git] / README.md
CommitLineData
f1d839f5
JN
1# Babashka Scripts
2
3Miscellaneous [babashka](https://babashka.org "babashka website") scripts I wrote for my own personal use.
4
5## Requirements
6
7babashka (>= 0.2.9)
8
9## Usage
10
11Clone this repository.
12
13``` sh
14cd ~/dev
15git clone https://njoseph.me/gitweb/babashka-scripts.git
16```
17
18Add the following lines to your shell configuration file.
19
20``` sh
21export BABASHKA_PRELOADS='(load-file (str (System/getProperty "user.home") "/dev/babashka-scripts/lib.clj"))'
22export PATH=$PATH:$HOME/dev/babashka-scripts
23```
24
25## Organization
26
27`lib.clj` contains functions that the other scripts might use. It must be loaded first.