Summary: | rc-scripts and bash-completion fix/enhancement | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cory Visi (RETIRED) <merlin> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | joker |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
service.sh
service-bash-completion gentoo.diff |
Description
Cory Visi (RETIRED)
2004-05-25 15:41:50 UTC
Created attachment 32028 [details]
service.sh
Kumba, I made some small changes.
the 'service' thing in $PATH has come up before and has always been a WONTFIX the bash-completion is something we can send upstream Created attachment 32029 [details]
service-bash-completion
Created attachment 32030 [details, diff]
gentoo.diff
Well the bash-completion suggestion completely depends on the service script being used and in the path. So, I guess this bug is over before I even finished the attachments. eh, I've found this a useful little shortcut. It's really minor, but it is nice to only type "service <service> <command>" rather than "/etc/init.d/<service> <command>" all the time. I dunno, amybe something to think about for a baselayout release in the distant future. yes, i know how it works, and like ive said, it's always been a WONTFIX before because we opted to not have a 'service' thing in $PATH ... dont remember the exact bug # but i'm sure someone will find it Cory, I appreciate the time you took to put in this bug, along with the patches, but I'm going to close it WONTFIX for the following reasons: "service " = 8 chars "/etc/init.d/" = 12 chars You succeeded in shaving off 4 characters on a relatively infrequent operation, i.e. starting/stopping services, at the expense of (1) making it less clear what is going on, (2) using the word "service" from the bin namespace, (3) adding something more to maintain. IMHO the benefit is not worth it. Thanks though! |