Move all scripts to 'src' directory
This commit is contained in:
4
src/defn
Executable file
4
src/defn
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Script to look up word in dictionary file in the format: "word:\tdefinition\n"
|
||||
|
||||
printf "$(rg --no-line-number "^$1:" ~/.local/share/dictionary.txt || echo 'No definition found. The searched term may not be in the dictionary file, or the dictionary file may not be present')\n"
|
Reference in New Issue
Block a user