From 9eb8699873007947765f342088744775b0bbbb11 Mon Sep 17 00:00:00 2001 From: Dennis Heinrich Date: Thu, 31 Oct 2024 17:10:54 +0100 Subject: [PATCH] Added an alias for HTTPS in fish completions (#1598) Ensure that fish completion is working with the `https` command. It just wraps the identical completions from `http` to `https`. --- extras/httpie-completion.fish | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extras/httpie-completion.fish b/extras/httpie-completion.fish index 8a711b60..102399a4 100644 --- a/extras/httpie-completion.fish +++ b/extras/httpie-completion.fish @@ -112,3 +112,10 @@ complete -c http -l version -d 'Show version' complete -c http -l traceback -d 'Prints exception traceback should one occur' complete -c http -l default-scheme -x -d 'The default scheme to use' complete -c http -l debug -d 'Show debugging output' + + +# Alias for https to http + +function https --wraps http + http $argv; +end