summaryrefslogtreecommitdiff
path: root/.local/bin/osel
blob: 3d9e5436d88bee17de3712388194fcf94bd259d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

x="`
if [ -t 2 ]
then
	eval fzf $OSEL_TERM_FLAGS
else
	eval fuzzel -d $OSEL_GUI_FLAGS
fi`"
[ -z "$x" ] && exit 1
printf '%s' "$x"