Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 594646
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- /etc/bash_completion.d/gentoo-style-init    2016-09-21 22:46:25.000000000 +0700
0
++ /etc/bash_completion.d/gentoo-style-init-new        2016-09-21 22:51:48.000000000 +0700
Lines 12-18 Link Here
12
12
13
    if [[ ( -f "${script}" || -h "${script}" ) && -r "${script}" ]] \
13
    if [[ ( -f "${script}" || -h "${script}" ) && -r "${script}" ]] \
14
    && [[ "${script}" != *.sh ]] \
14
    && [[ "${script}" != *.sh ]] \
15
    && [[ "$(head -n 1 "${script}")" = "#!/sbin/runscript" ]]
15
    && ( [[ "$(head -n 1 "${script}")" = "#!/sbin/runscript" ]] || [[ "$(head -n 1 "${script}")" = "#!/sbin/openrc-run" ]] )
16
    then
16
    then
17
    [[ $COMP_CWORD -gt 1 ]] && return 1
17
    [[ $COMP_CWORD -gt 1 ]] && return 1
18
    COMPREPLY=($(opts="start stop status restart pause zap ineed needsme iuse usesme broken"; \
18
    COMPREPLY=($(opts="start stop status restart pause zap ineed needsme iuse usesme broken"; \

Return to bug 594646