the bash version of https://github.com/antonmedv/howto
in bash
$ source deepseek.sh bind1
$ HOWTO_APIKEY='your deepseek apikey'
$ howto find files modified today
== cmd is: find / -type f -mtime 0
$ find / -type f -mtime 0 <=== this line input by script
deepseek query is slow (about 4 seconds)
TIPS:
Ctrl + G
will prependhowto
cmd and run
bind -x '"\C-g": "c_howto"'
//this will show howto in cli & history
OR
bind -x '"\C-g": "c_howto2"'
//this not show howto in cli & history
then input the search string, for example:
$ find files modified today
then press Ctrl+G
to trigger completion