1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 09:19:25 +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

@ -8,4 +8,4 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
_arguments '1:url:' && return 0
_arguments '::GitHub URL:_urls' && return 0