diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2020-03-04 23:18:24 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2020-03-04 23:18:24 +0100 |
commit | 384a2b36c86be5e79913a1861d8eb23ec3bf65cb (patch) | |
tree | 080d32c7b769ad858d85ba385f3e8e1d5195c04b | |
parent | dc91fa53ff7726a0fb0f12099fe331aee7ae964f (diff) | |
download | scripts-384a2b36c86be5e79913a1861d8eb23ec3bf65cb.tar.gz scripts-384a2b36c86be5e79913a1861d8eb23ec3bf65cb.zip |
fzfdic.sh now uses global configuration for dictionary files instead of explicit paths.
-rwxr-xr-x | fzfdic.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |