mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-23 04:22:06 +00:00
Merge pull request #292 from ogham/exa/master
Add .bk extension to is_temp.
This commit is contained in:
commit
734579576a
@ -81,7 +81,7 @@ impl FileExtensions {
|
|||||||
fn is_temp(&self, file: &File) -> bool {
|
fn is_temp(&self, file: &File) -> bool {
|
||||||
file.name.ends_with('~')
|
file.name.ends_with('~')
|
||||||
|| (file.name.starts_with('#') && file.name.ends_with('#'))
|
|| (file.name.starts_with('#') && file.name.ends_with('#'))
|
||||||
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak" ])
|
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak", "bk" ])
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_compiled(&self, file: &File) -> bool {
|
fn is_compiled(&self, file: &File) -> bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user