Search code examples
shellemacseshell

Emacs silently appends -i to shell command


And it breaks the shell I'm trying to run because it doesn't know the -i option. I've searched all variables that start with shell- but none of them has value of -i Setting explicit-shell-file-name changes the name, but the option is still appended.

Please help.


Solution

  • There is a variable called explicit-<your shell name>-args (eg explicit-bash-args). Check whether it is defined and what it contains.