Is there a way to have Emacs to prompt by default for a binary of my choice when running M-x ansi-term
. It always asks me for /bin/zsh
but I have a new installation of zsh
in a different path.
Alternatively, it would be great to have Emacs to just run the binary I want when I type M-x my-ansi-term
There are a number of ways to specify the default shell:
explicit-shell-file-name
. For example, in your .emacs
: (setq explicit-shell-file-name "/bin/zsh")
ESHELL
SHELL
Alternatively, it would be great to have Emacs to just run the binary I want when I type M-x my-ansi-term
See Remote ssh connection from within Emacs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With