updated git.sh

pull/2/head
Hari Sekhon 5 years ago
parent eb952e03f6
commit f7af41c05e

@ -65,6 +65,7 @@ alias tag="githg tag"
alias um=updatemodules
alias gbrowse=gitbrowse
alias gh=gitbrowse
alias ghw='gitbrowse actions'
#type browse &>/dev/null || alias browse=gbrowse
alias ggrep="git grep"
# much quicker to just 'cd $github; f <pattern>'
@ -107,7 +108,7 @@ gitgc(){
}
gitbrowse(){
browser "$(git remote -v | awk '/https:/{print $2}' | sed 's,://.*@,://,' | head -n1)"
browser "$(git remote -v | awk '/https:/{print $2}' | sed 's,://.*@,://,' | head -n1)"/"$1"
}
install_git_completion(){

Loading…
Cancel
Save