diff options
author | Jim Tang <jimtang@google.com> | 2018-06-19 19:11:48 +0800 |
---|---|---|
committer | Jim Tang <jimtang@google.com> | 2018-07-17 14:19:35 +0800 |
commit | 0bd3432c5b4bfdfc89ca775fba9cc9f7db67a43f (patch) | |
tree | ab343068b9081a0ea30ef4b3679cf3bcb35fe3f2 /libsparse/sparse.cpp | |
parent | 17a02a33bba44ebc7517a11dfa6839b938e1e153 (diff) |
Adb and fastboot completion supports zsh users.
Builtin command "type" in zsh doesn't support -t option and this
is resolved by checking the shell type prior to sourcing them.
Instead of using "type -t" explicitly, check_type() knows the the
type of the current shell and behaves accordingly.
Bug: 110629292
Test: (zsh) source build/envsetup.sh && lunch aosp_arm
(bash) source build/envsetup.sh && lunch aosp_arm
Change-Id: Ie39e130e9cc87135cfd522abedba11ad5ac25261
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions