Next: Omitting Technical, Previous: Omitting Variables, Up: Omitting Files in Dired

### 3.2 Examples of Omitting Various File Types

- If you wish to avoid seeing RCS files and the `RCS` directory, then put

                (setq dired-omit-files
                      (concat dired-omit-files "\\|^RCS$\\|,v$"))

  in the `dired-load-hook` (see Installation). This assumes `dired-omit-localp` has its default value of `no-dir` to make the `^`-anchored matches work. As a slower alternative, with `dired-omit-localp` set to `nil`, you can use `/` instead of `^` in the regexp.

- If you use `tib`, the bibliography program for use with TeX and LaTeX, and you want to omit the `INDEX` and the `*-t.tex` files, then put

                (setq dired-omit-files
                      (concat dired-omit-files "\\|^INDEX$\\|-t\\.tex$"))

  in the `dired-load-hook` (see Installation).

- If you do not wish to see ‘`dot`’ files (files starting with a `.`), then put

                (setq dired-omit-files
                      (concat dired-omit-files "\\|^\\..+$"))

  in the `dired-load-hook` (see Installation).