Git自动完成在Mac OS上的屏幕上 [英] Git autocomplete in screen on mac os

查看:122
本文介绍了Git自动完成在Mac OS上的屏幕上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在mac上使用git,并且配置了自动完成,如 http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/ 当我在纯粹的终端中执行它时,它工作正常。

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.

但我更喜欢在终端工作时使用gnu屏幕程序。并在屏幕上,当我按标签记录发生。也许有人知道如何解决它。

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.

推荐答案

我不使用屏幕但我认为它可能会工作,如果你把 source〜/ git-completion.bash
语句放在〜/ .bashrc中而不是你的〜/ .bash_profile中。我不认为屏幕被视为登录shell。

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.

这篇关于Git自动完成在Mac OS上的屏幕上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆