1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 06:48:00 +00:00
prezto/modules/git/functions/_git-hub-shorten-url
Indrajit Raychaudhuri e6136a517b [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
2017-07-07 13:52:17 -07:00

12 lines
179 B
Plaintext

#compdef git-hub-shorten-url
#autoload
#
# Completes git-hub-shorten-url.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
_arguments '::GitHub URL:_urls' && return 0