This is happening in my two OSs. WSL 2 on Windows 11 and EndeavourOS (arch based). Both bash.
Look at the section "Your script". It shows the command twice separated by the "script" word. This happens 100% of the times, prompt independent. If I run or edit the command, ai-shell show the correct response.
[me@pc ~]$ ai --version
1.0.9
[me@pc ~]$ ai install ssh client
┌ AI Shell
│
◇ Your script:
sudo pacman -S --noconfirm opensshscript sudo pacman -S --noconfirm openssh
•
│
◇ Explanation:
1. Run the script with superuser privileges using sudo.
2. Use the package manager pacman to install the package openssh.
3. Skip the confirmation prompt by using the --noconfirm flag.
•
│
◆ Run this script?
│ ● ✅ Yes (Lets go!)
│ ○ 📝 Edit
│ ○ 🔁 Revise
│ ○ 📋 Copy
│ ○ ❌ Cancel
└
This is happening in my two OSs. WSL 2 on Windows 11 and EndeavourOS (arch based). Both bash.
Look at the section "Your script". It shows the command twice separated by the "script" word. This happens 100% of the times, prompt independent. If I run or edit the command, ai-shell show the correct response.