From 93e9b80d3ff160c7d7f5be4c2c1862da97b273dc Mon Sep 17 00:00:00 2001 From: Alexander Schaber Date: Tue, 14 Jul 2020 16:50:18 +0200 Subject: [PATCH] httpie: add alias for https (#8032) --- plugins/httpie/README.md | 6 ++++++ plugins/httpie/httpie.plugin.zsh | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 plugins/httpie/httpie.plugin.zsh diff --git a/plugins/httpie/README.md b/plugins/httpie/README.md index 25bdd0c7d..40d60c47d 100644 --- a/plugins/httpie/README.md +++ b/plugins/httpie/README.md @@ -11,4 +11,10 @@ plugins=(... httpie) It uses completion from [zsh-completions](https://github.com/zsh-users/zsh-completions). +## Aliases + +| Alias | Command | +| ------------ | ---------------------------------------------------------------- | +| `https` | `http --default-scheme=https` | + **Maintainer:** [lululau](https://github.com/lululau) diff --git a/plugins/httpie/httpie.plugin.zsh b/plugins/httpie/httpie.plugin.zsh new file mode 100644 index 000000000..088a1f1cf --- /dev/null +++ b/plugins/httpie/httpie.plugin.zsh @@ -0,0 +1,7 @@ +# +# Aliases +# (sorted alphabetically) +# + +alias https='http --default-scheme=https' +