punassuming / ranger.el

Bringing the goodness of ranger to dired!
699 stars 52 forks source link

.DS_Store not excluded #114

Closed hiaw closed 8 years ago

hiaw commented 8 years ago

In OSX there is always a .DS_Store for each folder. This is a binary file that contains the attribute for that folder. I would like to exclude that instead of being shown gibberish.

I set

  (setq ranger-excluded-extensions '("DS_Store"
                                     "mkv" "iso" "mp4" "bin" "exe" "msi"))

But it stills show the .DS_Store file. Note that I would like to keep ranger-show-dotfiles option as I work with the .gitignore, .zshrc etc regularly.

punassuming commented 8 years ago

@hiaw, the exclude parameter specifically just does not show previews for the file.

punassuming commented 8 years ago

If you want to hide the file from showing at all, use ranger-hidden-filter

hiaw commented 8 years ago

Thanks