From b7e747d8fae835d99125ad13c30638c9f78d240d Mon Sep 17 00:00:00 2001 From: Wesley Hayutin Date: Tue, 10 Mar 2026 13:55:32 -0600 Subject: [PATCH] fix bash on fedora Signed-off-by: Wesley Hayutin --- cmd/completion/install.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/completion/install.go b/cmd/completion/install.go index 1638222..738435f 100644 --- a/cmd/completion/install.go +++ b/cmd/completion/install.go @@ -147,11 +147,13 @@ func (o *InstallOptions) Run(c *cobra.Command) error { // isBashCompletionInstalled checks if bash-completion is available func (o *InstallOptions) isBashCompletionInstalled() bool { - // Check common bash-completion paths + // Check common bash-completion paths across Linux distros and macOS paths := []string{ + "/usr/share/bash-completion/bash_completion", + "/etc/bash_completion", + "/etc/profile.d/bash_completion.sh", "/opt/homebrew/etc/bash_completion", "/usr/local/etc/bash_completion", - "/etc/bash_completion", } for _, path := range paths {