I feel like I’d use my file browser if it was easier to get around. ctrp-p like zoxide/fzf would be game changing.

Edit: sry tbh I wasn’t clear… I was asking for a GUI file browser, sry ranger covers my tui needs

spoiler

No electron

  • cakeofhonor@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    I second this. lf is basically ranger but you can integrate any shell commands or tools into it. It’ll require a bit of setting up though as the defaults are bare bones.

      • cakeofhonor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Are you doing this via rifle? That was how I was doing it in ranger, but with lf you can make custom shell commands directly in the config and assign custom hotkeys to it.

        • JubilantJaguar@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          4 months ago

          In rc.conf put map f shell -tf $SHELL ~/myscript.sh. When you press f it will launch myscript.sh in a new terminal with the selection as an argument.

          man ranger and check shell command for appropriate flags. For example, skip the -t if your script is in turn going to launch a GUI application.