When I invoke C-u M-x shell
while visiting a local file or scratch buffer, emacs does not prompt me to enter the default directory for the shell.
But if I'm visiting a remote file or directory through tramp, then when invoking C-u M-x shell
, emacs will ask me for the default directory.
How can I make C-u M-x shell
ask for the default directory even when I'm visiting a local file or buffer?