can you upgrade this alias so the response also be save to current session history?…
- User
can you upgrade this alias so the response also be save to current session history? using history -s alias ai='function _ai() { llm -t default "@")"; }; _ai'alias ai='function _ai() { llm -t default "@")"; }; _ai'
- Assistant
Sure! You can modify your
aialias to save the response from thellmcommand to the current session history usinghistory -s. Here's how you can achieve this: