Git autocomplete in screen on mac os

冷暖自知 提交于 2019-12-10 16:52:55

问题


I've using git on mac and I have configured autocompletion as written at http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/ It works fine when I do it in pure terminal.

But I prefer to use gnu screen program when working in terminal. And in screen when I press tab noting happen. Maybe someone knows how to fix it.


回答1:


I don't use screen but I think it will probably work if you put the source ~/git-completion.bash statement in your ~/.bashrc instead of your ~/.bash_profile. I don't think screen counts as a login shell.



来源:https://stackoverflow.com/questions/3911771/git-autocomplete-in-screen-on-mac-os

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!