From be38247202bf8c9c167732412c069990c93a6d81 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 22 Nov 2023 19:52:17 +0100 Subject: osel: Fix index mode with fzf --- .local/bin/osel | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local') 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 + -- cgit v1.2.3