summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/osel6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/osel b/.local/bin/osel
index bd22c02..ca2727f 100755
--- a/.local/bin/osel
+++ b/.local/bin/osel
@@ -6,9 +6,9 @@ index()
{
if [ -t 2 ]
then
- nl -nln -v1 \
- | eval fzf --with-nth=2 $OSEL_TERM_FLAGS \
- | cut -f1 -d' '
+ nl -nln -w1 \
+ | eval fzf --with-nth=2.. $OSEL_TERM_FLAGS \
+ | cut -f1
else
eval fuzzel --index $OSEL_GUI_FLAGS \
| xargs expr 1 +