mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2024-12-18 04:04:33 -05:00
Add helper script to search for a prompt by name
This commit is contained in:
parent
514989d563
commit
eab7244941
3
scripts/find-prompt
Normal file
3
scripts/find-prompt
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
curl -s https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv | tail +2 | ruby -rcsv -e 'CSV.parse(STDIN.read) {|row| puts row.join("\t")}' | fzf --with-nth 1 --delimiter "\t" --preview 'echo {2} | fold -s -w $(tput cols)'
|
Loading…
Reference in New Issue
Block a user