Ver Código Fonte

~/.bin/rt: Support the gh: shortcut (for my own repos).

Lucas Stadler 13 anos atrás
pai
commit
f7a9cd07cc
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      .bin/rt

+ 1 - 1
.bin/rt

@ -28,7 +28,7 @@ prog_from_any() {
28 28
		rt_PROG="git"
29 29
	elif [ -d "$1/.hg" ]; then
30 30
		rt_PROG="hg"
31
	elif [ `echo $1 | grep -E "(git|hub|repo.or.cz)"` ]; then
31
	elif [ `echo $1 | grep -E "(git|hub|gh|repo.or.cz)"` ]; then
32 32
		rt_PROG="git"
33 33
	elif [ `echo $1 | grep -E "(hg|bitbucket)"` ]; then
34 34
		rt_PROG="hg"