From 384a2b36c86be5e79913a1861d8eb23ec3bf65cb Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 4 Mar 2020 23:18:24 +0100 Subject: fzfdic.sh now uses global configuration for dictionary files instead of explicit paths. --- fzfdic.sh | 4 ++-- 1 file 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 -- cgit v1.2.1