Fix conflict with common zsh alias
oh-my-zsh common-aliases plugin defines `alias -g T='| tail'`, which causes an error with the line `local T dir f`. Making these lines more explicit resolves this issue, while also being clearer that the intent is to clear out the local variables. Bug: 169191000 Fix: 169191000 Test: source build/envsetup.sh; lunch <target>; m Change-Id: Ief27aa3d9f541d0c39c6c11d7d771818d6493d31
This commit is contained in:
parent
97a498b177
commit
8c2c9cfa9d
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ function should_add_completion() {
|
|||
|
||||
function addcompletions()
|
||||
{
|
||||
local T dir f
|
||||
local f=
|
||||
|
||||
# Keep us from trying to run in something that's neither bash nor zsh.
|
||||
if [ -z "$BASH_VERSION" -a -z "$ZSH_VERSION" ]; then
|
||||
|
|
Loading…
Reference in a new issue