4 ms·
Nice job. Though it would be more useful to me as a cli app. A different take on tldr with live filtering of results based on what you're typing
by crashabr 1y ago
Nice job. Though it would be more useful to me as a cli app. A different take on tldr with live filtering of results based on what you're typing
- shellsteady 1y agoThanks! A full CLI is on my list, but you can use Greppers as a terminal app today with fzf: # add to ~/.bashrc or ~/.zshrc gpr() { curl -fsSL https://www.greppers.com/data/commands.json | jq -r '.[] | [.title, .command, (.tags|join(","))] | @tsv' | fzf --with-nth=1,3 --delimiter='\t' \ --header='type to filter • Enter=copy' \ --preview='printf "⟪ %s ⟫\n\n%s\n" {1} {2}' \ --bind 'enter:execute-silent(echo -n {2} | (pbcopy || xclip -selection clipboard || wl-copy || xsel -ib || clip.exe))+accept' } # usage: run `gpr`, type to filter, Enter copies the command
- rancar2 1y agoYou may be looking for do thing like this tool: https://github.com/closedloop-technologies/autocomplete-sh https://github.com/closedloop-technologies/autocomplete-sh