Lines Matching defs:directory
133 /* If non-zero, completed directory names have a slash appended. */
136 /* If non-zero, the symlinked directory completion behavior introduced in
167 completing on a directory name. The function is called with
168 the address of a string (the current directory name) as an arg. */
286 symbolic links to directory names, subject to the value of the
572 path passed. In this case, we try to expand the directory
576 /* Terminate the directory name. */
582 files in the root directory. If we pass a null string to the
583 bash directory completion hook, for example, it will expand it
584 to the current directory. We just want the `/'. */
1320 has them) and don't add a suffix for a symlink to a directory. A
1367 directory. */
1523 see if it was a directory. If so, and the `mark-directories'
1698 static DIR *directory = (DIR *)NULL;
1710 /* If we were interrupted before closing the directory or reading
1712 if (directory)
1714 closedir (directory);
1715 directory = (DIR *)NULL;
1741 /* searches from current directory on the drive */
1757 /* Save the version of the directory that the user typed. */
1776 directory = opendir (dirname);
1783 filenames, like /usr/man/man<WILD>/te<TAB>. If the directory name
1788 /* Now that we have some state, we can read the directory. */
1791 while (directory && (entry = readdir (directory)))
1829 if (directory)
1831 closedir (directory);
1832 directory = (DIR *)NULL;