Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54190 - bash_completion should also complete pgrep and pidof
Summary: bash_completion should also complete pgrep and pidof
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Christian Birchinger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 02:59 UTC by Peter Jensen
Modified: 2004-06-17 05:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Implement pgrep and pidof completion (bash_completion_pgrep.patch,874 bytes, patch)
2004-06-17 03:02 UTC, Peter Jensen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jensen 2004-06-17 02:59:57 UTC
For a while now it has annoyed me that no bash completion exists for pgrep and pidof.
The completion routine for pkill can more or less be reused, if the part about signal completion is removed.
I'll attach a patch to demonstrate what I'd like to see.
Comment 1 Peter Jensen 2004-06-17 03:02:12 UTC
Created attachment 33417 [details, diff]
Implement pgrep and pidof completion

Diff against /etc/bash_completion from app-shells/bash-completion-20040526
Comment 2 Christian Birchinger (RETIRED) gentoo-dev 2004-06-17 04:31:01 UTC
Please send such a patch to the bash-completion author. He's very responsive
about new features and patches. I don't want to maintain a gentoo specific
patch because the upstream autor is actively developting the script very well.
Comment 3 Peter Jensen 2004-06-17 05:02:12 UTC
OK, I will do that.
I just thought someone from Gentoo would send it upstream (it was worth a shot :-)).
I'll mark this as resolved, then.