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

Commit 596a630c authored by Usta Shrestha's avatar Usta Shrestha Committed by Automerger Merge Worker
Browse files

Merge "Allow sourcing envsetup from anywhere" am: 0e462442

parents eabde79e 0e462442
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -403,7 +403,9 @@ function addcompletions()
    # e.g.
    # ENVSETUP_NO_COMPLETION=adb # -> disable adb completion
    # ENVSETUP_NO_COMPLETION=adb:bit # -> disable adb and bit completion
    local T=$(gettop)
    for f in ${completion_files[*]}; do
        f="$T/$f"
        if [ ! -f "$f" ]; then
          echo "Warning: completion file $f not found"
        elif should_add_completion "$f"; then