mirror of
https://github.com/sigoden/aichat
synced 2024-11-16 06:15:26 +00:00
9 lines
197 B
Fish
9 lines
197 B
Fish
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 |