4

我在 mac 上使用了 git,并且我已经按照 http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/ 中的说明配置了自动完成终端。

但我更喜欢在终端工作时使用 gnu screen 程序。当我按下制表符时,在屏幕上注意到发生了。也许有人知道如何解决它。

4

1 回答 1

6

我不使用screen,但我认为如果将source ~/git-completion.bash 语句放在 ~/.bashrc 而不是 ~/.bash_profile 中,它可能会起作用。我不认为screen算作登录外壳。

于 2010-10-12T23:52:27.200 回答