summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/osel5
1 files changed, 3 insertions, 2 deletions
diff --git a/.local/bin/osel b/.local/bin/osel
index fc9713c..bd22c02 100755
--- a/.local/bin/osel
+++ b/.local/bin/osel
@@ -6,11 +6,12 @@ index()
{
if [ -t 2 ]
then
- nl -nln -v0 \
+ nl -nln -v1 \
| eval fzf --with-nth=2 $OSEL_TERM_FLAGS \
| cut -f1 -d' '
else
- eval fuzzel $OSEL_GUI_FLAGS
+ eval fuzzel --index $OSEL_GUI_FLAGS \
+ | xargs expr 1 +
fi
}