toki pona dictionary stuff

This commit is contained in:
2023-09-02 10:41:21 -04:00
parent 1e42e3f8b2
commit ad13f0779e
3 changed files with 48 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# this could potentially leave a user with two jasima.json files post config
# change but that's fine
if test -z "$JASIMA"
then test -n "$XDG_CONFIG_HOME" \
&& JASIMA="$XDG_CONFIG_HOME"/tokipona/jasima.json \
|| JASIMA="$HOME"/.tokipona/jasima.json
fi
test -n "$JASIMA_URL" \
|| JASIMA_URL=https://linku.la/jasima/data.json