When I start a terminal in Emacs 23.3.1 it prompts me with "Run program: /usr/local/bin/bash". How can I get rid of this prompt? I would like to bind F4 to starting a terminal without it prompting me for the same shell every time.
Something like:
(global-set-key [f4] 'term)
This doesn't work though. It will start a terminal, but it still prompts me to enter the shell again.
(global-set-key [f4] '(lambda () (interactive) (term (getenv "SHELL"))))
If you like using terms in emacs, you could look at multi term.
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