At 07/08/2021 at 10:19, Shakespearean monkeys danced on Ulli
Horlacher's keyboard and said:
This part was easy:
W10dev:/usr/local/bin: cygsearch ksh
Found 449 matches for ksh
kshisen-debuginfo-17.04.3-1 - kshisen-debuginfo: Debug info for kshisen
<snipped>
mksh-56c-1 - mksh: MirBSD Korn Shell
1.maybe you saw nothing selected for install because the main
window's view chooser was to "pending" and not "full"?
2, use fzf. i don't use it (yet?) but it should be something like:
cyginst() { # a little function to install a package from the cli
_pkg=$(cygsearch "$1" | fzf | cut -f1 -d'-' )
/setup-x86_64.exe ... -P "$_pkg"
}
the cut is to strip off all the versioning choices. i think fzf can
even allow you to edit the choice you make to eliminate that. or you
you change the cut to a sed and only strip off '-[0-9]*' for apps
that use a dash in their real name (can't think of one ottomh, but...).
fzf is packaged for cygwin and the github page has more help than I
cared to read when I found it. :)
Cheers!
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple