commit:     4d4b26bc5f85e6a817ce10d16ca66c37e53c9458
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Thu Aug  7 19:53:02 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 23 17:32:06 2025 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=4d4b26bc

Fix eselect bash autocompletion

eselect wants strictly 2 spaces to complete `eselect gcc set ...`:
https://gitweb.gentoo.org/proj/eselect.git/tree/misc/eselect.bashcomp#n15

Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gcc-config/pull/5
Closes: https://github.com/gentoo/gcc-config/pull/5
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gcc-config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc-config b/gcc-config
index 4e92445..07726af 100755
--- a/gcc-config
+++ b/gcc-config
@@ -940,7 +940,7 @@ list_profiles() {
                        source_profile "${GCC_ENV_D}/config-${target}"
                        [[ ${x} == ${CURRENT} ]] && x="${x} ${HILITE}*${NORMAL}"
                fi
-               echo " [${i}] ${x}"
+               echo "  [${i}] ${x}"
        done
 }
 

Reply via email to