mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-21 19:45:11 +00:00
Merge pull request #940 from izhakjakov/master
Add extension ".bkp" as temp file
This commit is contained in:
commit
aff35a1643
@ -87,7 +87,7 @@ impl FileExtensions {
|
||||
fn is_temp(&self, file: &File<'_>) -> bool {
|
||||
file.name.ends_with('~')
|
||||
|| (file.name.starts_with('#') && file.name.ends_with('#'))
|
||||
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak", "bk" ])
|
||||
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak", "bkp", "bk" ])
|
||||
}
|
||||
|
||||
fn is_compiled(&self, file: &File<'_>) -> bool {
|
||||
|
Loading…
Reference in New Issue
Block a user