1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-10-14 11:09:08 +00:00

[git] Fix 'git-hub-shorten-url' helper

Changes:
- Use git.io over 'https'
- Add extra check to conform to *.github.com URLs
- Use built-in _urls function for completion
- Update readme with GitHub blog URL
This commit is contained in:
Indrajit Raychaudhuri
2017-07-07 00:02:13 -05:00
committed by Kaleb Elwert
parent 7d5beeab51
commit e6136a517b
3 changed files with 6 additions and 5 deletions

View File

@@ -317,7 +317,7 @@ Functions
- `git-commit-lost` lists lost commits.
- `git-dir` displays the path to the Git directory.
- `git-hub-browse` opens the [GitHub][3] repository in the default browser.
- `git-hub-shorten-url` shortens GitHub URLs.
- `git-hub-shorten-url` shortens [GitHub URLs][10].
- `git-info` exposes repository information via the `$git_info` associative
array.
- `git-root` displays the path to the working tree root.
@@ -422,3 +422,4 @@ Authors
[7]: https://github.com/sorin-ionescu/prezto/issues/219
[8]: http://www.kernel.org/pub/software/scm/git/docs/git-log.html
[9]: https://getgb.io/
[10]: https://github.com/blog/985-git-io-github-url-shortener