mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2025-08-04 04:34:22 -04:00
find-prompt now takes an argument and also only prints the prompt in the output
This commit is contained in:
parent
19990c8662
commit
3ee3610836
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +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)'
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue