Hi,
Ludovic Courtès writes:
> Hi,
>
> Maxim Cournoyer writes:
>
>> Ludovic Courtès writes:
>>
>> [...]
>>
>>> Yes, ‘sudo herd status TAB’ cannot work because it would need to run
>>> ‘sudo herd status’ to get the list of available services.
>>
>> Maybe i could run this once and cache the resul
Hi,
Adding to what I just said earlier: it should at least be possible to
check if we're already root, and when we are, provide the completions
for root.
If we're an unprivileged user, then provide the completion for the
Shepherd instance running as that user, if any.
--
Thanks,
Maxim
Hi,
Maxim Cournoyer writes:
> Ludovic Courtès writes:
>
> [...]
>
>> Yes, ‘sudo herd status TAB’ cannot work because it would need to run
>> ‘sudo herd status’ to get the list of available services.
>
> Maybe i could run this once and cache the result? I think I've seen this
> pattern before fo
Hi Tobias,
Tobias Geerinckx-Rice writes:
>> On 10 Jul 2025, at 19:14, Maxim Cournoyer wrote:
>> Maybe i could run this once and cache the result? I think I've seen this
>> pattern before for bash completion.
>
> With sudo? I'd find it surprising to the point of annoying if hitting
> popped up
> On 10 Jul 2025, at 19:14, Maxim Cournoyer wrote:
> Maybe i could run this once and cache the result? I think I've seen this
> pattern before for bash completion.
With sudo? I'd find it surprising to the point of annoying if hitting
popped up a password prompt that I can't escape with muscle
Hi,
Ludovic Courtès writes:
[...]
> Yes, ‘sudo herd status TAB’ cannot work because it would need to run
> ‘sudo herd status’ to get the list of available services.
Maybe i could run this once and cache the result? I think I've seen this
pattern before for bash completion.
--
Thanks,
Maxim
Hello,
Kaelyn writes:
> I just checked in a convenient terminal, and it does appear there is
> bash-completion for Shepherd. 'herd TAB' gets completions for me, as
> well as 'herd status TAB' showing my user Shepherd service names. The
> one thing that doesn't seem to work is 'sudo herd status T
Hi Maxim,
On Wednesday, July 9th, 2025 at 11:03 PM, Maxim Cournoyer
wrote:
>
>
> Hi Ludovic!
>
> Congrats on the release!
>
> Ludovic Courtès l...@gnu.org writes:
>
>
> [...]
>
> > ** New Fish completion
> >
> > This version comes with completion of the ‘herd’ command for the Fish shell
Hi Ludovic!
Congrats on the release!
Ludovic Courtès writes:
[...]
>
> ** New Fish completion
>
> This version comes with completion of the ‘herd’ command for the Fish shell.
Oh! Do we also have bash-completion for Shepherd? I'd be nice if we
could get completion on 'herd status TAB' to g
We are glad to announce version 1.0.6 of the Shepherd, the next
bug-fix release in the 1.0.x series.
Check out the web site to learn more about the Shepherd 1.0.x series:
https://gnu.org/software/shepherd/news/2024/12/the-shepherd-1.0.0-released/
• About
The Shepherd is a service manager wr
10 matches
Mail list logo