0

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?

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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