I know I can get case-insensitive filename completion in the minibuffer using read-file-name-completion-ignore-case
, but this doesn't seem to apply to all filename completion in the minibuffer. Specifically, it doesn't seem to apply when I'm using shell-command
. Example:
$ emacs -Q
M-: (setq read-file-name-completion-ignore-case t)
M-! touch /tmp/HelloThere
C-x C-f /tmp/hello<TAB> <-- this completes to HelloThere, as expected
M-! shell-command<RET>ls /tmp/Hello<TAB> <-- this completes to HelloThere, as expected
C-g
M-! shell-command<RET>ls /tmp/hello<TAB> <-- no completion
Is there any way to get whatever is completing /tmp/HelloThere
while reading from the minibuffer for a shell-command
to respect read-file-name-completion-ignore-case
?