This commit is contained in:
Christian Nieves
2023-04-20 23:31:53 -05:00
parent 0a21fea0e1
commit 096d5435c8
12 changed files with 106 additions and 9 deletions

View File

@ -9,6 +9,7 @@ export XAUTHORITY=~/.Xauthority
export GOROOT=/usr/lib/google-golang
export PATH=$GOROOT/bin:$PATH
export JAVA_HOME=$(readlink -ne /usr/local/buildtools/java/jdk)
source /google/bin/releases/knock/knock.sh
function gcert() {
if [[ -n $TMUX ]]; then
@ -16,6 +17,7 @@ function gcert() {
fi
command gcert "$@"
source /google/bin/releases/knock/knock.sh
}
function tmux_title() {

View File

@ -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*(blaze|g4|p4|g4d|add_dep|buildozer|build_cleaner|debug_android_lint|rabbit|hb|gqui|builddoctor|unused_deps|clipper) ]]; then
if [[ -n $GOOGLE3_ROOT && ! $BUFFER =~ \\s*(blaze|g4|p4|g4d|add_dep|buildozer|build_cleaner|debug_android_lint|rabbit|hb|gqui|builddoctor|unused_deps|clipper|blaze_lint_refactoring) ]]; then
BUFFER=${BUFFER// \/\// $GOOGLE3_ROOT\/}
fi
zle .accept-line