소스 검색

completion can be used with alias g(git)

pull/1/head
10sr 12 년 전
부모
커밋
5f8134b10a
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      .bashrc

+ 6
- 0
.bashrc 파일 보기

@@ -259,6 +259,12 @@ _mygitconfig(){
fi
}

if type _git >/dev/null 2>&1 # enable programmable completion when alias g=git
then
complete -o bashdefault -o default -o nospace -F _git g 2>/dev/null \
|| complete -o default -o nospace -F _git g
fi

__my_parse_svn_branch() {
local LANG=C
local svn_url=$(svn info 2>/dev/null | sed -ne 's#^URL: ##p')


불러오는 중...
취소
저장