mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Merge commit '2a4aabbe4b178c9416b0df819b2364d3c7e25645'
This commit is contained in:
3
src/awesome-chatgpt-prompts/scripts/find-prompt
Executable file
3
src/awesome-chatgpt-prompts/scripts/find-prompt
Executable 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 -1 -q "$1" --with-nth 1 --delimiter "\t" --preview 'echo {2} | fold -s -w $(tput cols)' | cut -d" " -f2
|
||||
Reference in New Issue
Block a user