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

(-)/etc/bash_completion.d/tree.orig (-3 / +3 lines)
Lines 15-21 Link Here
15
    --dirsfirst --charset --help"
15
    --dirsfirst --charset --help"
16
16
17
    if [[ ${cur} == -* ]] ; then
17
    if [[ ${cur} == -* ]] ; then
18
        COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
18
        COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
19
        return 0
19
        return 0
20
    fi
20
    fi
21
21
Lines 23-32 Link Here
23
        -L|-P|-I|-H|-T|--charset|--help)
23
        -L|-P|-I|-H|-T|--charset|--help)
24
            ;;
24
            ;;
25
        -o)
25
        -o)
26
            COMPREPLY=( $(compgen -f -- ${cur}) )
26
	    _filedir
27
            ;;
27
            ;;
28
        *)
28
        *)
29
            COMPREPLY=( $(compgen -d -- ${cur}) )
29
	    _filedir -d
30
            ;;
30
            ;;
31
    esac
31
    esac
32
}
32
}

Return to bug 417715