blob: 2481da52ff0a783f3899f0f04a1e23edb15feb91 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
dict="$(printf "EN\nES" | fzf -e -i --prompt="Choose a dictionary>")"
if [ "$dict" = "EN" ]; then
fzf -x -i --prompt="EN>" < "$CONFIG_DIC_EN"
elif [ "$dict" = "ES" ]; then
fzf -x -i --prompt="ES>" < "$CONFIG_DIC_ES"
fi
|