summary refs log tree commit diff stats
path: root/scripts/init
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/init')
-rwxr-xr-xscripts/init13
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