Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc1471cd authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Move adb/fastboot bash completion to their projects."

parents a77e2acd ce18dd44
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -350,13 +350,12 @@ function addcompletions()
        return
    fi

    dir="sdk/bash_completion"
    if [ -d ${dir} ]; then
        for f in `/bin/ls ${dir}/[a-z]*.bash 2> /dev/null`; do
    for f in system/core/adb/adb.bash system/core/fastboot/fastboot.bash; do
        if [ -f $f ]; then
            echo "including $f"
            . $f
        done
        fi
    done

    complete -C "bit --tab" bit
}