Lines Matching defs:directory
144 /* If non-zero, completed directory names have a slash appended. */
147 /* If non-zero, the symlinked directory completion behavior introduced in
178 completing on a directory name. The function is called with
179 the address of a string (the current directory name) as an arg. */
316 symbolic links to directory names, subject to the value of the
711 path passed. In this case, we try to expand the directory
715 /* Terminate the directory name. */
721 files in the root directory. If we pass a null string to the
722 bash directory completion hook, for example, it will expand it
723 to the current directory. We just want the `/'. */
1507 has them) and don't add a suffix for a symlink to a directory. A
1555 directory. */
1713 see if it was a directory. If so, and the `mark-directories'
1897 static DIR *directory = (DIR *)NULL;
1909 /* If we were interrupted before closing the directory or reading
1911 if (directory)
1913 closedir (directory);
1914 directory = (DIR *)NULL;
1939 /* searches from current directory on the drive */
1954 /* Save the version of the directory that the user typed. */
1967 /* The directory completion hook should perform any necessary
1981 directory = opendir (dirname);
1997 filenames, like /usr/man/man<WILD>/te<TAB>. If the directory name
2002 /* Now that we have some state, we can read the directory. */
2005 while (directory && (entry = readdir (directory)))
2043 if (directory)
2045 closedir (directory);
2046 directory = (DIR *)NULL;