Skip to content

Can't prevent sos from triggering on emacs lock files #40

Description

@Martinsos

Hi!
I have emacs creating files like .#myfile.txt when I am editing a file, and sos triggers on those (runs the command). This is not the behaviour I want, so I tried using -e to exclude those, but I just can't get it to work!
I tried following:

-e "#"
-e "\.#"
-e ".*\.#.*"

and non of those excludes the files in question from triggering sos.

The message I get is Added: foo/bar/.#yourfile.txt. So it seems to be triggering only on adding the emacs lock file, not modifying it. Is it possible that -e matches only modified files and not added ones?

Am I doing smth wrong? Thank you!

Btw. I am on Archlinux, I am running sos on a directory, and sos version is 2.0.2.

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