3.3 Some Technical Details of Omitting

Loading dired-x.el will install Dired Omit by putting dired-omit-expunge on your dired-after-readin-hook, and will call dired-extra-startup, which in turn calls dired-omit-startup in your dired-mode-hook.