Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 235454 | Differences between
and this patch

Collapse All | Expand All

(-)gentoo-bashcomp-20140911.orig/completions/emerge (+6 lines)
Lines 26-31 Link Here
26
        return 0
26
        return 0
27
    fi
27
    fi
28
28
29
    if [[ ${cur} =~ ^@ ]] ; then
30
        local SET_LIST=($(emerge --list-sets | xargs))
31
        COMPREPLY=( $( compgen -W '${SET_LIST[@]/#/@}' $cur ) )
32
        return 0
33
    fi
34
29
    # find action
35
    # find action
30
    for x in ${COMP_LINE} ; do
36
    for x in ${COMP_LINE} ; do
31
        if [[ ${x} =~ ^(system|world)$ ]] || [[ ${x} =~ -[CPcs] ]] || \
37
        if [[ ${x} =~ ^(system|world)$ ]] || [[ ${x} =~ -[CPcs] ]] || \

Return to bug 235454