8000 make kill/pkill completions more robust by krader1961 · Pull Request #3200 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

make kill/pkill completions more robust#3200

Closed
krader1961 wants to merge 1 commit intofish-shell:masterfrom
krader1961:kill-signals
Closed

make kill/pkill completions more robust#3200
krader1961 wants to merge 1 commit intofish-shell:masterfrom
krader1961:kill-signals

Conversation

@krader1961
Copy link
Contributor

Someone running fish in an unusual locale reported that an assert() was
firing when they typed pkill c. I traced it to two bugs. First, the
__fish_make_completion_signals command was producing a weird result. Second,
the builtin complete command wasn't adequately verifying its arguments.

Fixes #3129

I've tested this on Ubuntu and OS X using the C, en_US.UTF-8, and et_EE.UTF-8 locales. On OS X I have GNU coreutils setup as my standard commands thus replacing the standard OS X kill command.

Someone running fish in an unusual locale reported that an `assert()` was
firing when they typed `pkill c`. I traced it to two bugs. First, the
__fish_make_completion_signals command was producing a weird result. Second,
the builtin `complete` command wasn't adequately verifying its arguments.

Fixes #3129
@krader1961
Copy link
Contributor Author

@mikroskeem: Can you put the the __fish_make_completion_signals.fish from this PR in your ~/.config/fish/functions directory, start a fresh fish shell, and verify the problem no longer occurs?

@krader1961
Copy link
Contributor Author

No feedback so I'm going to assume no one has any objections to this fix and merge it.

@zanchey
Copy link
Member
zanchey commented Jul 8, 2016

Yes, this looks fine :-)

@mikroskeem
Copy link

@krader1961 Sorry, I'm bit late to this party.

But this PR fixes my problem. I can now use my own locale freely with fish, thanks :) 👍

@faho faho added the bug Something that's not working as intended label Aug 27, 2016
@faho faho added this to the next-2.x milestone Aug 27, 2016
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected crash when using pkill

4 participants

0