aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfzfdic.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/fzfdic.sh b/fzfdic.sh
index 670e5f2..2481da5 100755
--- a/fzfdic.sh
+++ b/fzfdic.sh
@@ -2,7 +2,7 @@
dict="$(printf "EN\nES" | fzf -e -i --prompt="Choose a dictionary>")"
if [ "$dict" = "EN" ]; then
- fzf -e -i --prompt="EN>" < /usr/share/dict/words.txt
+ fzf -x -i --prompt="EN>" < "$CONFIG_DIC_EN"
elif [ "$dict" = "ES" ]; then
- fzf -e -i --prompt="ES>" < /usr/share/dict/palabras.txt
+ fzf -x -i --prompt="ES>" < "$CONFIG_DIC_ES"
fi