I would like to launch term with my default shell, without being prompted every time for the path of the shell.

How can I bind a key to term without being prompted for the shell to run?

1 Answer 1

(global-set-key (kbd "C-x t") (lambda ()
                                (term shell-file-name)))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.