Skip to content

Commit 5b604c3

Browse files
authored
Fix https behaviour in fish (httpie#1611)
Using the name `https` to invoke HTTPie should make HTTPie default to the https:// scheme, but using a fish function to replace invocations of `https` with invocations of `http` defeats this behaviour. Instead, just tell fish to complete `https` in the same way as `http`.
1 parent 2843b87 commit 5b604c3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

extras/httpie-completion.fish

+1-3
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,4 @@ complete -c http -l debug -d 'Show debugging output'
116116

117117
# Alias for https to http
118118

119-
function https --wraps http
120-
http $argv;
121-
end
119+
complete -c https -w http

0 commit comments

Comments
 (0)