summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-22 19:52:17 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-22 19:52:17 +0100
commitbe38247202bf8c9c167732412c069990c93a6d81 (patch)
treeed2332f399c38b4460b92f3df5b47d3f3893df43 /.local
parent11f3ccd8c545c889821adcc0b1a7fc06fb833503 (diff)
osel: Fix index mode with fzf
Diffstat (limited to '.local')
-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 +