complete -c dir -l format -d 'Set the display format.' -r -f -a "long\t''
verbose\t''
single-column\t''
columns\t''
vertical\t''
across\t''
horizontal\t''
commas\t''"
complete -c dir -s T -l tabsize -d 'Assume tab stops at each COLS instead of 8' -r
complete -c dir -l hyperlink -d 'hyperlink file names WHEN' -r -f -a "always\t''
auto\t''
never\t''"
complete -c dir -l quoting-style -d 'Set quoting style.' -r -f -a "literal\t''
locale\t''
shell\t''
shell-escape\t''
shell-always\t''
shell-escape-always\t''
clocale\t''
c\t''
escape\t''"
complete -c dir -l time -d 'Show time in `<field>`: access time (-u): atime, access, use; change time (-t): ctime, status. modification time: mtime, modification. birth time: birth, creation;' -r -f -a "atime\t''
ctime\t''
mtime\t''
birth\t''"
complete -c dir -l hide -d 'do not list implied entries matching shell PATTERN (overridden by -a or -A)' -r
complete -c dir -s I -l ignore -d 'do not list implied entries matching shell PATTERN' -r
complete -c dir -l sort -d 'Sort by `<field>`: name, none (-U), time (-t), size (-S), extension (-X) or width' -r -f -a "name\t''
none\t''
time\t''
size\t''
version\t''
extension\t''
width\t''"
complete -c dir -l block-size -d 'scale sizes by BLOCK_SIZE when printing them' -r
complete -c dir -s w -l width -d 'Assume that the terminal is COLS columns wide.' -r
complete -c dir -l color -d 'Color output based on file type.' -r -f -a "always\t''
auto\t''
never\t''"
complete -c dir -l indicator-style -d 'Append indicator with style WORD to entry names: none (default),  slash (-p), file-type (--file-type), classify (-F)' -r -f -a "none\t''
slash\t''
file-type\t''
classify\t''"
complete -c dir -s F -l classify -d 'Append a character to each file name indicating the file type. Also, for regular files that are executable, append \'*\'. The file type indicators are \'/\' for directories, \'@\' for symbolic links, \'|\' for FIFOs, \'=\' for sockets, \'>\' for doors, and nothing for regular files. when may be omitted, or one of:     none - Do not classify. This is the default.     auto - Only classify if standard output is a terminal.     always - Always classify. Specifying --classify and no when is equivalent to --classify=always. This will not follow symbolic links listed on the command line unless the --dereference-command-line (-H), --dereference (-L), or --dereference-command-line-symlink-to-dir options are specified.' -r -f -a "always\t''
auto\t''
never\t''"
complete -c dir -l time-style -d 'time/date format with -l; see TIME_STYLE below' -r
complete -c dir -l help -d 'Print help information.'
complete -c dir -s C -d 'Display the files in columns.'
complete -c dir -s l -l long -d 'Display detailed information.'
complete -c dir -s x -d 'List entries in rows instead of in columns.'
complete -c dir -s m -d 'List entries separated by commas.'
complete -c dir -l zero -d 'List entries separated by ASCII NUL characters.'
complete -c dir -s D -l dired -d 'generate output designed for Emacs\' dired (Directory Editor) mode'
complete -c dir -s 1 -d 'List one file per line.'
complete -c dir -s o -d 'Long format without group information. Identical to --format=long with --no-group.'
complete -c dir -s g -d 'Long format without owner information.'
complete -c dir -s n -l numeric-uid-gid -d '-l with numeric UIDs and GIDs.'
complete -c dir -s N -l literal -d 'Use literal quoting style. Equivalent to `--quoting-style=literal`'
complete -c dir -s b -l escape -d 'Use escape quoting style. Equivalent to `--quoting-style=escape`'
complete -c dir -s Q -l quote-name -d 'Use C quoting style. Equivalent to `--quoting-style=c`'
complete -c dir -s q -l hide-control-chars -d 'Replace control characters with \'?\' if they are not escaped.'
complete -c dir -l show-control-chars -d 'Show control characters \'as is\' if they are not escaped.'
complete -c dir -s c -d 'If the long listing format (e.g., -l, -o) is being used, print the status change time (the \'ctime\' in the inode) instead of the modification time. When explicitly sorting by time (--sort=time or -t) or when not using a long listing format, sort according to the status change time.'
complete -c dir -s u -d 'If the long listing format (e.g., -l, -o) is being used, print the status access time instead of the modification time. When explicitly sorting by time (--sort=time or -t) or when not using a long listing format, sort according to the access time.'
complete -c dir -s B -l ignore-backups -d 'Ignore entries which end with ~.'
complete -c dir -s S -d 'Sort by file size, largest first.'
complete -c dir -s t -d 'Sort by modification time (the \'mtime\' in the inode), newest first.'
complete -c dir -s v -d 'Natural sort of (version) numbers in the filenames.'
complete -c dir -s X -d 'Sort alphabetically by entry extension.'
complete -c dir -s U -d 'Do not sort; list the files in whatever order they are stored in the directory.  This is especially useful when listing very large directories, since not doing any sorting can be noticeably faster.'
complete -c dir -s L -l dereference -d 'When showing file information for a symbolic link, show information for the file the link references rather than the link itself.'
complete -c dir -l dereference-command-line-symlink-to-dir -d 'Do not follow symlinks except when they link to directories and are given as command line arguments.'
complete -c dir -s H -l dereference-command-line -d 'Do not follow symlinks except when given as command line arguments.'
complete -c dir -s G -l no-group -d 'Do not show group in long format.'
complete -c dir -l author -d 'Show author in long format. On the supported platforms, the author always matches the file owner.'
complete -c dir -s a -l all -d 'Do not ignore hidden files (files with names that start with \'.\').'
complete -c dir -s A -l almost-all -d 'In a directory, do not ignore all file names that start with \'.\', only ignore \'.\' and \'..\'.'
complete -c dir -s f -d 'List all files in directory order, unsorted. Equivalent to -aU. Disables --color unless explicitly specified.'
complete -c dir -s d -l directory -d 'Only list the names of directories, rather than listing directory contents. This will not follow symbolic links unless one of `--dereference-command-line (-H)`, `--dereference (-L)`, or `--dereference-command-line-symlink-to-dir` is specified.'
complete -c dir -s h -l human-readable -d 'Print human readable file sizes (e.g. 1K 234M 56G).'
complete -c dir -s k -l kibibytes -d 'default to 1024-byte blocks for file system usage; used only with -s and per directory totals'
complete -c dir -l si -d 'Print human readable file sizes using powers of 1000 instead of 1024.'
complete -c dir -s i -l inode -d 'print the index number of each file'
complete -c dir -s r -l reverse -d 'Reverse whatever the sorting method is e.g., list files in reverse alphabetical order, youngest first, smallest first, or whatever.'
complete -c dir -s R -l recursive -d 'List the contents of all directories recursively.'
complete -c dir -s s -l size -d 'print the allocated size of each file, in blocks'
complete -c dir -l file-type -d 'Same as --classify, but do not append \'*\''
complete -c dir -s p -d 'Append / indicator to directories.'
complete -c dir -l full-time -d 'like -l --time-style=full-iso'
complete -c dir -s Z -l context -d 'print any security context of each file'
complete -c dir -l group-directories-first -d 'group directories before files; can be augmented with a --sort option, but any use of --sort=none (-U) disables grouping'
complete -c dir -s V -l version -d 'Print version'
