Skip to content

Commit

Permalink
Fix https behaviour in fish (#1611)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
sersorrel authored Dec 17, 2024
1 parent 2843b87 commit 5b604c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions extras/httpie-completion.fish
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,4 @@ complete -c http -l debug -d 'Show debugging output'

# Alias for https to http

function https --wraps http
http $argv;
end
complete -c https -w http

0 comments on commit 5b604c3

Please sign in to comment.