]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - bashline.c
Imported from ../bash-3.2.48.tar.gz.
[thirdparty/bash.git] / bashline.c
index 809fe32b636f5a3f4deb0a2b65375da14ef549bc..fa4055e21d65d1b6caf90adbf1a89b07ebf60ad8 100644 (file)
@@ -2357,7 +2357,7 @@ bash_directory_completion_hook (dirname)
   if (should_expand_dirname)  
     {
       new_dirname = savestring (local_dirname);
-      wl = expand_prompt_string (new_dirname, 0);      /* does the right thing */
+      wl = expand_prompt_string (new_dirname, 0, W_NOCOMSUB);  /* does the right thing */
       if (wl)
        {
          *dirname = string_list (wl);