diff options
author | Andinus <andinus@nand.sh> | 2020-04-07 01:00:13 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-04-07 01:00:13 +0530 |
commit | cd4325250d64799ef328c51ddc36ab0a14d1e640 (patch) | |
tree | 7e613a7e48a11dd08f4d4f0fdc90fbc9a7b70025 /scripts/init | |
parent | 0a6d510d2add0e46e890cc6fcac39d3080ba689b (diff) | |
download | grus-cd4325250d64799ef328c51ddc36ab0a14d1e640.tar.gz |
Add init and install scripts
Diffstat (limited to 'scripts/init')
-rwxr-xr-x | scripts/init | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/init b/scripts/init new file mode 100755 index 0000000..1ca1f12 --- /dev/null +++ b/scripts/init @@ -0,0 +1,13 @@ +#!/bin/sh + +# Download the list of words. +curl -o /tmp/words.txt \ + https://raw.githubusercontent.com/dwyl/english-words/master/words.txt + +# Make the script executable. +chmod +x grus-add + +# Add those words to the database. +./grus-add \ + -d $HOME/.local/share/grus/grus.db \ + -f /tmp/words.txt |