xfm_mime.types - suffix based fall back mime type information
When xfm(1) cannot determine the type of a file using the values in
xfm_magic(5), this file is used to guess a type of a file. The file
shipped with xfm by default just tells to include the files
~/.mime.types and /etc/mime.types to get the system wide settings.
There is one entry per line. Empty lines and lines starting with a
hash (#) are ignored. Prior entries overwrite later ones.
If a line starts with !include or include the rest of the line is
treated as a filename to process before continuing with the rest of the
file. (If the filename starts with a tilde followed by a slash, the
tilde is replaced by the content of the HOME environment variable.)
Other lines contain the name of a mime type followed by an arbitrary
number of filename suffixes, separated by spaces or tabs.
A file that got no other type associated by content and whose name ends
with a dot followed by the specified suffix, will be treated as type
Xfm only recognizes suffixes with at most 7 characters.
Otherwise unidentified files anding in .c are treated as text/x-csrc:
Same with .c++, cpp, cxx or cc as text/x-c++src:
text/x-c++src c++ cpp cxx cc
Unless xfm(1) is told to look at a different place via X
resource Xfm.mimeTypesFile, this is the first place xfm looks
for a file with the describes format.
If the first file does not exists, xfm(1) (unless it gets told a
different place via the X resource Xfm.systemwideMimeTypesFile)
looks for this file.
General user settings normaly included from
General system wide settings normaly included from