aboutsummaryrefslogtreecommitdiff
path: root/scripts/fzf_example
blob: 7b9c4d11eeb59a8efe881528fd098963468db550 (plain)
1
2
3
#!/usr/bin/env bash
CHOICE=$(echo -e "1\n2\n3\n" | fzf --prompt "Lucky number?")
echo "You selected $CHOICE"