This commit is contained in:
@ -152,3 +152,9 @@ source /google/bin/releases/gmscore-tools/cli/prod/setup_prod_gms.sh
|
||||
abbr bq="blaze query"
|
||||
abbr br="blaze run"
|
||||
abbr bb="blaze build"
|
||||
|
||||
function phenodb() {
|
||||
adb shell sqlite3 /data/data/com.google.android.gms/databases/phenotype.db "'$*'"
|
||||
}
|
||||
|
||||
export PHENOTYPE_PACKAGE_NAME="com.google.YOUR.PHENOTYPE.PACKAGE.NAME"
|
||||
|
@ -13,7 +13,7 @@ autoload -Uz add-zsh-hook
|
||||
add-zsh-hook chpwd g3path::hook
|
||||
|
||||
g3path::zle::accept-line () {
|
||||
if [[ -n $GOOGLE3_ROOT && ! $BUFFER =~ \\s*(bb|bq|br|blaze|g4|p4|g4d|add_dep|buildozer|build_cleaner|debug_android_lint|rabbit|hb|gqui|builddoctor|unused_deps|clipper|blaze_lint_refactoring|migrants_sh.sar) ]]; then
|
||||
if [[ -n $GOOGLE3_ROOT && ! $BUFFER =~ \\s*(bb|bq|br|blaze|g4|p4|g4d|add_dep|buildozer|build_cleaner|debug_android_lint|rabbit|hb|gqui|builddoctor|unused_deps|clipper|blaze_lint_refactoring|migrants_sh.sar|bloaty) ]]; then
|
||||
BUFFER=${BUFFER// \/\// $GOOGLE3_ROOT\/}
|
||||
fi
|
||||
zle .accept-line
|
||||
|
Reference in New Issue
Block a user