From 38a18be64c223f3bbb5df2683fdf9dba4078e734 Mon Sep 17 00:00:00 2001 From: Daniel Demus Date: Mon, 10 Feb 2025 15:59:54 +0100 Subject: [PATCH] Fix bash completion Only build on release --- .gitea/workflows/rpmbuild-release-40.yaml | 2 +- .gitea/workflows/rpmbuild-release-41.yaml | 2 +- .gitea/workflows/rpmbuild-release-42.yaml | 2 +- bash-completion.sh | 11 ++++++----- demus-profile-scripts.spec | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/rpmbuild-release-40.yaml b/.gitea/workflows/rpmbuild-release-40.yaml index cbc34c4..1faeb8c 100644 --- a/.gitea/workflows/rpmbuild-release-40.yaml +++ b/.gitea/workflows/rpmbuild-release-40.yaml @@ -1,6 +1,6 @@ name: Build and provide rpm of demus profiles run-name: Rpmbuild demus-profile by @${{ github.actor }} -on: [ release, push ] +on: [ release ] jobs: rpmbuild: runs-on: f40-minimal-rpmbuild diff --git a/.gitea/workflows/rpmbuild-release-41.yaml b/.gitea/workflows/rpmbuild-release-41.yaml index 58f9b79..c52da65 100644 --- a/.gitea/workflows/rpmbuild-release-41.yaml +++ b/.gitea/workflows/rpmbuild-release-41.yaml @@ -1,6 +1,6 @@ name: Build and provide rpm of demus profiles run-name: Rpmbuild demus-profile by @${{ github.actor }} -on: [ release, push ] +on: [ release ] jobs: rpmbuild: runs-on: f41-minimal-rpmbuild diff --git a/.gitea/workflows/rpmbuild-release-42.yaml b/.gitea/workflows/rpmbuild-release-42.yaml index a1f2554..d9af788 100644 --- a/.gitea/workflows/rpmbuild-release-42.yaml +++ b/.gitea/workflows/rpmbuild-release-42.yaml @@ -1,6 +1,6 @@ name: Build and provide rpm of demus profiles run-name: Rpmbuild demus-profile by @${{ github.actor }} -on: [ release, push ] +on: [ release ] jobs: rpmbuild: runs-on: f42-minimal-rpmbuild diff --git a/bash-completion.sh b/bash-completion.sh index d9034c7..6debbc7 100644 --- a/bash-completion.sh +++ b/bash-completion.sh @@ -1,6 +1,7 @@ # Always ignore case in bash completion -set completion-ignore-case On -set completion-map-case On -set colored-completion-prefix On -set colored-stats On -set show-all-if-ambiguous On +bind "set completion-ignore-case On" +bind "set completion-map-case On" +bind "set colored-completion-prefix On" +bind "set colored-stats On" +bind "set show-all-if-ambiguous On" +bind "set visible-stats On" diff --git a/demus-profile-scripts.spec b/demus-profile-scripts.spec index 9fdc476..dbeb93b 100644 --- a/demus-profile-scripts.spec +++ b/demus-profile-scripts.spec @@ -1,5 +1,5 @@ Name: demus-profile-scripts -Version: 0.3.2 +Version: 0.4.2 Release: %autorelease Summary: Bash profile customisations