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