fzf is a powerful tool to interactively select a line among data piped to stdin, a simple example is to pick a line in your shell history and it’s my main fzf use.

  • @SloppilyFloss
    link
    2
    edit-2
    3 years ago

    Ksh is a fantastically underrated shell and I love it so much. My only wish is that it followed completion rules for items even if they’re preceded by doas.

    What I mean is that tabbing after rcctl will give you the list of choices you set in your .kshrc file, but tabbing after doas rcctl won’t do so, which technically makes sense because the shell is looking for doas tab completion in this case, not rcctl.

    Also, doas does not automatically tab complete with the list of all available programs. You have to do that yourself in the .kshrc file.