1
0
forked from crony/udict

Merge branch 'main' into prettier

This commit is contained in:
Raymaekers Luca 2023-06-11 12:57:23 +02:00
commit 6888fc5ace
2 changed files with 17 additions and 3 deletions

12
Makefile Normal file
View File

@ -0,0 +1,12 @@
PREFIX = /usr/local
make:
@echo "usage: make [install|uninstall]"
install:
mkdir -p ${PREFIX}/bin
cp -f udict ${PREFIX}/bin
chmod 755 ${PREFIX}/bin/udict
uninstall:
rm -f ${PREFIX}/bin/udict

View File

@ -6,9 +6,11 @@ Simple script that uses simple dictionary to get the most liked/correct definiti
```bash ```bash
$ udict smh $ udict smh
meaning, "[shaking my head]", smh is typically used when something is obvious, [plain old stupid], or [disappointment]. meaning, "shaking my head", smh is typically used when something is obvious, plain old stupid, or disappointment.
``` ```
## Installation ## Installation
> as root
just copy the script to your path ```bash
sudo make install
```