aichat/scripts/shell-integration/integration.fish

9 lines
197 B
Fish
Raw Normal View History

2024-02-26 03:28:25 +00:00
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