mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-28 22:21:33 +02:00
Add Emacs temporary files to the default ignored list
Emacs generates temporary backup files while editing named "#FILENAME#" and ".#FILENAME". Ignore these by default.
This commit is contained in:
parent
c98bea3118
commit
422546b175
@ -147,6 +147,8 @@ pub fn get_args() -> Args {
|
||||
let mut ignores = vec![];
|
||||
let default_ignores = vec![format!("**{}.DS_Store", MAIN_SEPARATOR),
|
||||
String::from("*.pyc"),
|
||||
String::from("#*#"),
|
||||
String::from(".#*"),
|
||||
String::from(".*.sw?"),
|
||||
String::from(".*.sw?x"),
|
||||
format!("**{}.git{}**", MAIN_SEPARATOR, MAIN_SEPARATOR),
|
||||
|
Loading…
Reference in New Issue
Block a user