We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
compgen -f -- "''"
1 parent 49a85bd commit c8bb123Copy full SHA for c8bb123
bash_completion
@@ -1024,6 +1024,9 @@ _comp_compgen_filedir()
1024
local _quoted=$ret
1025
_comp_unlocal ret
1026
1027
+ # work around bash-4.2 where compgen -f "''" produces nothing.
1028
+ [[ $_quoted == "''" ]] && _quoted=""
1029
+
1030
# Munge xspec to contain uppercase version too
1031
# https://lists.gnu.org/archive/html/bug-bash/2010-09/msg00036.html
1032
# news://news.gmane.io/4C940E1C.1010304@case.edu
0 commit comments