diff options
author | Cody Hiar <cody@hiar.ca> | 2021-11-10 14:09:24 -0700 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2021-11-10 14:09:24 -0700 |
commit | 1d208e292b66b9bc4e39c3b29716559f8c1f9a3f (patch) | |
tree | 8a1de83d75879d4ea36905bba1451cbea620785e /scripts/fzf_example |
Initial Commit
Diffstat (limited to 'scripts/fzf_example')
-rwxr-xr-x | scripts/fzf_example | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/fzf_example b/scripts/fzf_example new file mode 100755 index 0000000..7b9c4d1 --- /dev/null +++ b/scripts/fzf_example @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +CHOICE=$(echo -e "1\n2\n3\n" | fzf --prompt "Lucky number?") +echo "You selected $CHOICE" |