feat: Use aichat

This commit is contained in:
Uttarayan Mondal
2024-06-01 23:27:05 +05:30
parent 198b3b0483
commit 944fb45c7d

View File

@@ -209,6 +209,15 @@ in {
interactiveShellInit = ''
${pkgs.spotify-player}/bin/spotify_player generate fish | source
${pkgs.pfetch-rs}/bin/pfetch
function _aichat_fish
set -l _old (commandline)
if test -n $_old
echo -n ""
commandline -f repaint
commandline (aichat -e $_old)
end
end
bind \co _aichat_fish
'';
};