diff --git a/github_api.sh b/github_api.sh index 33e6d252..d0ea99b7 100755 --- a/github_api.sh +++ b/github_api.sh @@ -124,10 +124,10 @@ url_path="${url_path##/}" repo=$(git_repo | sed 's/.*\///') url_path="${url_path/:owner/$USER}" -url_path="${url_path/:user/$USER}" url_path="${url_path/:username/$USER}" -url_path="${url_path//$USER}" +url_path="${url_path/:user/$USER}" url_path="${url_path//$USER}" +url_path="${url_path//$USER}" url_path="${url_path/:repo/$repo}" url_path="${url_path//$repo}"