Skip to content

scripts/completion.pl: improve zsh completion#8363

Closed
leahneukirchen wants to merge 1 commit into
curl:masterfrom
leahneukirchen:completion
Closed

scripts/completion.pl: improve zsh completion#8363
leahneukirchen wants to merge 1 commit into
curl:masterfrom
leahneukirchen:completion

Conversation

@leahneukirchen

@leahneukirchen leahneukirchen commented Jan 31, 2022

Copy link
Copy Markdown
Contributor

Some small improvements to the zsh completion, I mainly wanted to fix --unix-socket having no completion, but there are a few more low-hanging fruits.

- Detect all spellings of <file>, <file name> etc as well as <path>.
- Only complete directories for <dir>.
- Complete URLs for <URL>.
- Complete --request and --ftp-method.

- Detect all spellings of <file>, <file name> etc as well as <path>.
- Only complete directories for <dir>.
- Complete URLs for <URL>.
- Complete --request and --ftp-method.
@bagder

bagder commented Jan 31, 2022

Copy link
Copy Markdown
Member

@simon04 @ghedo does this look fine to you?

@bagder bagder added the script label Jan 31, 2022
@bagder bagder closed this in 90c4581 Feb 2, 2022
@bagder

bagder commented Feb 2, 2022

Copy link
Copy Markdown
Member

Thanks!

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

Labels

Development

Successfully merging this pull request may close these issues.

2 participants