Remove -E option of sudo for more

Note added by @cyrus-and: this only works because `sudo` preserves `TERM` nevertheless (unless explicitly blacklisted).
master
Aj Dumanhug 2020-06-10 16:48:48 -04:00 committed by GitHub
parent 1600e05fef
commit fbd887e91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ functions:
- code: ./more file_to_read
sudo:
- code: |
TERM= sudo -E more /etc/profile
TERM= sudo more /etc/profile
!/bin/sh
---