Skip to content

Commit

Permalink
Added an alias for HTTPS in fish completions (#1598)
Browse files Browse the repository at this point in the history
Ensure that fish completion is working with the `https` command. It just wraps the identical completions from `http` to `https`.
  • Loading branch information
cloudmaker97 authored Oct 31, 2024
1 parent 3037327 commit 9eb8699
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions extras/httpie-completion.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9eb8699

Please sign in to comment.