[pacman-dev] [PATCH] Add pacman-conf zsh completions
From: Ronan Pigott
On 22/8/20 1:20 pm, Ronan Pigott wrote:
From: Ronan Pigott
Signed-off-by: Ronan Pigott
---
This looks good to me. Allan
On 08/21/20 at 08:20pm, Ronan Pigott wrote:
From: Ronan Pigott
Signed-off-by: Ronan Pigott
Sure, I guess. pacman-conf is meant for use in scripts; who on Earth is running it in a terminal?
On Thu Sep 3, 2020 at 11:38 AM MST, Andrew Gregory wrote:
Sure, I guess. pacman-conf is meant for use in scripts; who on Earth is running it in a terminal?
I dunno. Anything useful in scripts can be useful in an interactive shell. No one is gonna bother without completions though. I wanted a list of servers enabled for my repo so I tried 'pacman-conf -r myrepo Server' but no completions makes it kind of a bummer to use. It's a good tool, but even better with completions. Why not?
On 9/3/20 9:38 PM, Andrew Gregory wrote:
On 08/21/20 at 08:20pm, Ronan Pigott wrote:
From: Ronan Pigott
Signed-off-by: Ronan Pigott
Sure, I guess. pacman-conf is meant for use in scripts; who on Earth is running it in a terminal?
It can be pretty useful for running without options in order to copy-paste your pacman.conf for help, but that's again not really a use case for completions. ... I guess we want the same completions in bash_completion.in, but given I don't really have a good use for it myself, I'm not sure I'll bother writing it myself... -- Eli Schwartz Bug Wrangler and Trusted User
On 4/9/20 12:24 pm, Eli Schwartz wrote:
On 9/3/20 9:38 PM, Andrew Gregory wrote:
On 08/21/20 at 08:20pm, Ronan Pigott wrote:
From: Ronan Pigott
Signed-off-by: Ronan Pigott
Sure, I guess. pacman-conf is meant for use in scripts; who on Earth is running it in a terminal?
It can be pretty useful for running without options in order to copy-paste your pacman.conf for help, but that's again not really a use case for completions.
I was working on the principle, that if someone submitted them, we can include them. Adds no overhead, beyond keeping them up to date.
I guess we want the same completions in bash_completion.in, but given I don't really have a good use for it myself, I'm not sure I'll bother writing it myself...
If someone submits, I will include them. If not, I don't care. A
participants (4)
-
Allan McRae
-
Andrew Gregory
-
Eli Schwartz
-
Ronan Pigott