Skip to content

fix patch completion - #4560

Merged
faho merged 1 commit into
fish-shell:masterfrom
wwwjfy:patch-completion
Nov 29, 2017
Merged

faho merged 1 commit into
fish-shell:masterfrom
wwwjfy:patch-completion

Conversation

@wwwjfy

@wwwjfy wwwjfy commented Nov 29, 2017

Copy link
Copy Markdown
Contributor

No description provided.

patch -i should be followed by a filename, and patch -d should be
followed by a directory
@ridiculousfish

Copy link
Copy Markdown
Member

I'm happy to merge this, but first can you please explain what this fixes? Thanks!

@wwwjfy

wwwjfy commented Nov 29, 2017

Copy link
Copy Markdown
Contributor Author

It's related to #112, the discussion began at #112 (comment)

The -i parameter of patch should be followed by a filename, with -f (--no-files) in the original file, it could not complete as the users expect.

The other changes are similar, and -d should be followed by a directory

@faho faho added bug Something that's not working as intended completions enhancement labels Nov 29, 2017
@faho faho added this to the fish-3.0 milestone Nov 29, 2017
@faho
faho merged commit 7d055a1 into fish-shell:master Nov 29, 2017
@faho

faho commented Nov 29, 2017

Copy link
Copy Markdown
Member

Merged, thanks for the quick reaction!

@wwwjfy
wwwjfy deleted the patch-completion branch November 29, 2017 13:00
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something that's not working as intended completions enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants