0

Emacs 27.1

When I run ansi-term, it every time ask me about

Run programm /bin/sh

I every time answer - yes

Is is possible to disable this question and immediately run ansi-term?

a_subscriber
  • 4,062
  • 1
  • 18
  • 56

1 Answers1

1

Define your own command that specifies which program to run, and ansi-term won't prompt you:

(defun my-ansi-term ()
  (interactive)
  (ansi-term "/bin/bash"))
rpluim
  • 5,245
  • 11
  • 25