summaryrefslogtreecommitdiff
path: root/plugins/github
diff options
context:
space:
mode:
authorJanosch Schwalm <janosch.schwalm@gmail.com>2018-08-07 20:42:02 +0200
committerMarc Cornellà <marc.cornella@live.com>2018-08-07 20:42:01 +0200
commit19b925e741fa46d2222210469a4dffc34a634ebd (patch)
tree7a426724df64bdfcbe68d1688cb08c0f51e600a7 /plugins/github
parente934624b32f8c370306355ab8a78667a5a6240d3 (diff)
downloadzsh-19b925e741fa46d2222210469a4dffc34a634ebd.tar.gz
zsh-19b925e741fa46d2222210469a4dffc34a634ebd.tar.bz2
zsh-19b925e741fa46d2222210469a4dffc34a634ebd.zip
use https everywhere (#6574)
* use https everywhere * use https links on the files that are left Also, removed some broken links and updated redirections.
Diffstat (limited to 'plugins/github')
-rw-r--r--plugins/github/README.md6
-rw-r--r--plugins/github/github.plugin.zsh4
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/github/README.md b/plugins/github/README.md
index fea607876..2b66e390f 100644
--- a/plugins/github/README.md
+++ b/plugins/github/README.md
@@ -11,14 +11,14 @@ This plugin supports working with GitHub from the command line. It provides a fe
* `empty_gh` - Creates a new empty repo (with a `README.md`) and pushes it to GitHub
* `new_gh` - Initializes an existing directory as a repo and pushes it to GitHub
* `exist_gh` - Takes an existing repo and pushes it to GitHub
-* `git.io` - Shortens a URL using [git.io](http://git.io)
+* `git.io` - Shortens a URL using [git.io](https://git.io)
## Installation
-[Hub](http://github.com/github/hub) needs to be installed if you want to use it. On OS X with Homebrew, this can be done with `brew install hub`. The `hub` completion definition needs to be added to your `$FPATH` before initializing OMZ.
+[Hub](https://github.com/github/hub) needs to be installed if you want to use it. On OS X with Homebrew, this can be done with `brew install hub`. The `hub` completion definition needs to be added to your `$FPATH` before initializing OMZ.
-The [`github` Ruby gem](http://github.com/defunkt/github-gem) needs to be installed if you want to use it.
+The [`github` Ruby gem](https://github.com/defunkt/github-gem) needs to be installed if you want to use it.
### Configuration
diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh
index 077f07bd4..fd19fb524 100644
--- a/plugins/github/github.plugin.zsh
+++ b/plugins/github/github.plugin.zsh
@@ -1,4 +1,4 @@
-# Set up hub wrapper for git, if it is available; http://github.com/github/hub
+# Set up hub wrapper for git, if it is available; https://github.com/github/hub
if (( $+commands[hub] )); then
alias git=hub
fi
@@ -63,7 +63,7 @@ exist_gh() { # [DIRECTORY]
# git.io "GitHub URL"
#
# Shorten GitHub url, example:
-# https://github.com/nvogel/dotzsh > http://git.io/8nU25w
+# https://github.com/nvogel/dotzsh > https://git.io/8nU25w
# source: https://github.com/nvogel/dotzsh
# documentation: https://github.com/blog/985-git-io-github-url-shortener
#