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`.
This commit is contained in:
Dennis Heinrich 2024-10-31 17:10:54 +01:00 committed by GitHub
parent 3037327410
commit 9eb8699873
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 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 default-scheme -x -d 'The default scheme to use'
complete -c http -l debug -d 'Show debugging output' complete -c http -l debug -d 'Show debugging output'
# Alias for https to http
function https --wraps http
http $argv;
end