mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-22 03:55:11 +00:00
Hide _ prefix files
This commit is contained in:
parent
777cd7e815
commit
d6d35bf47e
@ -111,6 +111,13 @@ impl<'dir, 'ig> Files<'dir, 'ig> {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Also hide _prefix files on Windows because it's used by old applications
|
||||
// as an alternative to dot-prefix files.
|
||||
#[cfg(windows)]
|
||||
if ! self.dotfiles && filename.starts_with('_') {
|
||||
continue;
|
||||
}
|
||||
|
||||
if self.git_ignoring {
|
||||
let git_status = self.git.map(|g| g.get(path, false)).unwrap_or_default();
|
||||
if git_status.unstaged == GitStatus::Ignored {
|
||||
|
Loading…
Reference in New Issue
Block a user