diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-19 23:46:03 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-19 23:46:03 +0300 |
| commit | aca151492cd482da1200ad51d0dd2dea495e4a3b (patch) | |
| tree | 819df31bfceaa72d1c59296b64ddcbe54937822b | |
| parent | d30f448ec728c81b7c4132ec775420a1a4c07354 (diff) | |
add ai
| -rw-r--r-- | dotfiles/fish/conf.d/ai.fish | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dotfiles/fish/conf.d/ai.fish b/dotfiles/fish/conf.d/ai.fish new file mode 100644 index 0000000..d4bad07 --- /dev/null +++ b/dotfiles/fish/conf.d/ai.fish @@ -0,0 +1,19 @@ +# AI tools in here need API keys to be configured. That's +# not done automatically through Rex yet. + +function ai::chatgpt + chatgpt $argv | less +end +alias gpt="ai::chatgpt" +alias gpti="chatgpt --interactive" + +function copilot::suggest + gh copilot suggest $argv +end + +function copilot::explain + gh copilot explain $argv +end + +alias suggest="copilot::suggest" +alias explain="copilot::explain" |
