Skip to content

SudoEdit filetype detection doesn't work with >= sudo-1.8.13 #31

@c-14

Description

@c-14

Modification of user environment in sudoedit was considered a bug and fixed in the 1.8.13 release.
https://bugzilla.sudo.ws/show_bug.cgi?id=688

I'm not sure it's possible to find out if vim is executed by sudoedit anymore. My current workaround is to create a shell function sudoedit() { SUDO_COMMAND="sudoedit $1" command sudoedit "$1" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions