diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-22 19:52:17 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-22 19:52:17 +0100 |
commit | be38247202bf8c9c167732412c069990c93a6d81 (patch) | |
tree | ed2332f399c38b4460b92f3df5b47d3f3893df43 | |
parent | 11f3ccd8c545c889821adcc0b1a7fc06fb833503 (diff) |
osel: Fix index mode with fzf
-rwxr-xr-x | .local/bin/osel | 6 |
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 + |