[defn]: add defn

This commit is contained in:
2024-08-18 01:24:49 +01:00
parent 344ffcb005
commit 4dc912ae45
2 changed files with 5 additions and 0 deletions

4
defn Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Script to look up word in dictionary file in the format: "word:\tdefinition\n"
rg --no-line-number "^$1:" ~/.local/share/dictionary.txt