configs
This commit is contained in:
@ -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() {
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user