Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
要提交所有跟踪的更改,在我的 fabfile 中我有:
local("git commit -a")
在我的 .zshenv 中,我有:
alias emacs="emacs -nw" export EDITOR=emacs
但是,当我调用 fabfile 函数时,它仍然会生成 Emacs 的 GUI 版本(这似乎不适用于终端)。我缺少什么让 Fabric 和 Git 使用我的 Emacs 别名?
链中有太多元素:织物、外壳等。在这些情况下,别名可能无效。你为什么不简单地发出这个命令
git config core.editor "emacs -nw"