summaryrefslogtreecommitdiff
path: root/.local/bin/osel
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-06 01:30:57 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-06 01:30:57 +0100
commit02e4686ccd7c95c6df855be61496c75c92b11396 (patch)
tree10ef22afb440b6f91e695d25677f130a5a79f75f /.local/bin/osel
parentd9f33332f52a60130325a5d16785ee9577647d42 (diff)
scripts: Move many scripts from sh to andy
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
}