浏览代码

httpie: add alias for https (#8032)

Alexander Schaber 3 年之前
父节点
当前提交
93e9b80d3f
共有 2 个文件被更改,包括 13 次插入0 次删除
  1. 6 0
      plugins/httpie/README.md
  2. 7 0
      plugins/httpie/httpie.plugin.zsh

+ 6 - 0
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)

+ 7 - 0
plugins/httpie/httpie.plugin.zsh

@@ -0,0 +1,7 @@
+#
+# Aliases
+# (sorted alphabetically)
+#
+
+alias https='http --default-scheme=https'
+