@SEACRE5T

Как заставить git использовать редактор emacs в терминале?

git может открывать emacs с флагом -nw по дефолту? "git config --global core.editor emacs -nw" не дает ничего и по прадве выглядит как бред
  • Вопрос задан
  • 102 просмотра
Решения вопроса 1

When you run git config --global core.editor emacs -nw, your shell splits the command line into words before invoking git. Git thus sees "emacs -nw" as two separate arguments. It only needs one to put into the config file, so the other is ignored. (Actually, that's a lie but you can check the man page for details.) You can put quotes around a series of words to tell your shell not to break them up: git config --global core.editor "emacs -nw" will give "emacs -nw" to git as a single argument which will do what you want.

https://emacs.stackexchange.com/questions/21276/ho...
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
28 мар. 2024, в 21:25
2000 руб./за проект
28 мар. 2024, в 21:17
5000 руб./за проект
28 мар. 2024, в 20:46
150000 руб./за проект