Skip to content

fix: Update toggles.just for bash_completion#1025

Merged
RoyalOughtness merged 2 commits intosecureblue:livefrom
0xn1h1Lo:mods
May 6, 2025
Merged

fix: Update toggles.just for bash_completion#1025
RoyalOughtness merged 2 commits intosecureblue:livefrom
0xn1h1Lo:mods

Conversation

@0xn1h1Lo
Copy link
Copy Markdown
Contributor

@0xn1h1Lo 0xn1h1Lo commented May 1, 2025

/etc/profile.d/bash_completion.sh sources "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion", not bash-completion:

if [ "x${BASH_VERSION-}" != x -a "x${PS1-}" != x -a "x${BASH_COMPLETION_VERSINFO-}" = x ]; then

    # Check for recent enough version of bash.
    if [ "${BASH_VERSINFO[0]}" -gt 4 ] ||
        [ "${BASH_VERSINFO[0]}" -eq 4 -a "${BASH_VERSINFO[1]}" -ge 2 ]; then
        [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" ] &&
            . "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion"
        if shopt -q progcomp && [ -r /usr/share/bash-completion/bash_completion ]; then
            # Source completion code.
            . /usr/share/bash-completion/bash_completion
        fi
    fi

fi

/etc/profile.d/bash_completion.sh sources "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion"
@0xn1h1Lo 0xn1h1Lo requested a review from RoyalOughtness as a code owner May 1, 2025 20:16
HastD added a commit to HastD/secureblue that referenced this pull request May 5, 2025
@RoyalOughtness
Copy link
Copy Markdown
Collaborator

@0xn1h1Lo can you either allow me to merge live into your branch or merge it

@0xn1h1Lo 0xn1h1Lo changed the title Update toggles.just for bash_completion fix: Update toggles.just for bash_completion May 6, 2025
@RoyalOughtness RoyalOughtness merged commit 3dcfd8d into secureblue:live May 6, 2025
13 checks passed
RoyalOughtness pushed a commit to RoyalOughtness/secureblue-dev that referenced this pull request Aug 4, 2025
@0xn1h1Lo 0xn1h1Lo deleted the mods branch September 14, 2025 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants