From 1d208e292b66b9bc4e39c3b29716559f8c1f9a3f Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 10 Nov 2021 14:09:24 -0700 Subject: Initial Commit --- scripts/fzf_example | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/fzf_example (limited to 'scripts/fzf_example') 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" -- cgit v1.2.3