Inserts unwanted 'sudo'
Bug report
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.4.19
- OS version: Ventura 13.2.1
- Attach
~/Library/Preferences/com.googlecode.iterm2.plist
here (drag-drop from finder into this window) - Attach a debug log, if possible.
- Attach a screen capture video if it would make the reproduction steps clearer.
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
The plist file does not exist nor does a search in Finder produce one.
Detailed steps to reproduce the problem
- Paste this into iTerm2 terminal complete w/newline:
az storage account keys list --resource-group dl.OD"$RESOURCE_GROUP_NAME" \ --account-name "$STORAGE_ACCOUNT_NAME" --query [0].value --output tsv)
- Cursor up (Mac external keyboard, up-arrow == up cursor)
- Aggravating auto-insertion:
sudo az storage account keys list --resource-group dl.OD"$RESOURCE_GROUP_NAME" \ --account-name "$STORAGE_ACCOUNT_NAME" --query [0].value --output tsv)
What happened
'sudo' added automatically
What should have happened
Cursor up a line