Take into account user level service #520
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When someone not with root privilege gonna want to complete gonna show, if /etc/dinit.d/user, user level services
If writing the command as root, or gonna execute it as root, show
/etc/dinit.delse, if
/etc/dinit.d/userexist show it.Add
-maxdepth 1which, was the issue, on the previous completion tool i report on my post issue, and execute the find on/, this gonna hopefully never check more than one level nowI have read and understand the CONTRIBUTING guide in full.
519 Since you suggest it, I made a PR.
I'm sorry to have not read the Contrib before, and gonna make sure i'm not making this error again on other project as well.
I thank's you for you're greate software that i really enjoy.
And thank's @inayelle for it's great completion tool