Describe the bug
d96fdb8 introduced sudo alias which does not work with sudo --edit (or sudo -e).
The integration will need to check for the flag before adding the environment variable.
To Reproduce
Steps to reproduce the behavior:
- Enable shell integration, without
no-sudo
- Run
sudo -e
- See error
$ sudo -e /etc/pacman.conf
sudo: you may not specify environment variables in edit mode
Screenshots
N/A
Environment details
N/A
Additional context
N/A
Describe the bug
d96fdb8 introduced sudo alias which does not work with
sudo --edit(orsudo -e).The integration will need to check for the flag before adding the environment variable.
To Reproduce
Steps to reproduce the behavior:
no-sudosudo -eScreenshots
N/A
Environment details
N/A
Additional context
N/A