Skip to content

Added an alias for HTTPS in fish completions#1598

Merged
jkbrzt merged 1 commit intohttpie:masterfrom
cloudmaker97:cloudmaker97/fish_https_alias
Oct 31, 2024
Merged

Added an alias for HTTPS in fish completions#1598
jkbrzt merged 1 commit intohttpie:masterfrom
cloudmaker97:cloudmaker97/fish_https_alias

Conversation

@cloudmaker97
Copy link
Contributor

Ensure that fish completion is working with the https command.
It just wraps the identical completions from http to https.

Documentation for fish-functions, see --wraps

Inherit completions from the given WRAPPED_COMMAND. See the documentation for complete for more information.

Ensure that fish completion is working with the `https` command. It just wraps the identical completions from `http` to `https`.
@cloudmaker97 cloudmaker97 marked this pull request as ready for review September 6, 2024 08:11
@jkbrzt jkbrzt merged commit 9eb8699 into httpie:master Oct 31, 2024
@keysmashes
Copy link
Contributor

this unfortunately breaks https for fish users. I defined https as http --default-scheme https $argv, but now the default-scheme argument gets lost, because my function is overwritten by the one defined here. (and httpie is invoked as http, so it can't tell that it should do anything different, as it's documented to.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants