diff options
| author | sigoden <sigoden@gmail.com> | 2024-03-02 08:07:06 +0000 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2024-03-02 08:07:06 +0000 |
| commit | d275c33632271bf9cdbc01ef005deb9ff851370b (patch) | |
| tree | e2e924469ee752245acef4f965fca6b770ac6e03 /scripts/shell-integration/integration.fish | |
| parent | 6216b40f8c0eeaea7d47349148ede054ee4a5822 (diff) | |
| download | aichat-d275c33632271bf9cdbc01ef005deb9ff851370b.tar.gz | |
chore: move integration scripts
Diffstat (limited to 'scripts/shell-integration/integration.fish')
| -rw-r--r-- | scripts/shell-integration/integration.fish | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/shell-integration/integration.fish b/scripts/shell-integration/integration.fish new file mode 100644 index 0000000..2d4dfb9 --- /dev/null +++ b/scripts/shell-integration/integration.fish @@ -0,0 +1,9 @@ +function _aichat_fish + set -l _old (commandline) + if test -n $_old + echo -n "⌛" + commandline -f repaint + commandline (aichat -e $_old) + end +end +bind \ee _aichat_fish
\ No newline at end of file |
