Plugins
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
alias go=colorgo
|
||||
# alias go=colorgo
|
||||
alias vim='nvim'
|
||||
alias vimdiff='nvim -d'
|
||||
# alias cat='bat'
|
||||
|
@ -74,6 +74,7 @@ alias builddoctor=/google/bin/releases/build-doctor/builddoctor
|
||||
alias rudi=/google/data/ro/teams/lsc/bin/rudi-cli
|
||||
alias rudi-cli=/google/data/ro/teams/lsc/bin/rudi-cli
|
||||
alias tmux=tmx2
|
||||
alias graphviz=/google/data/ro/projects/graphviz-server/graphviz
|
||||
compdef tmx2=tmux
|
||||
|
||||
export ACID_STARTUP_SCRIPT_PATH=~/acid_startup.sh
|
||||
|
@ -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|blaze_lint_refactoring) ]]; 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|migrants_sh.sar) ]]; then
|
||||
BUFFER=${BUFFER// \/\// $GOOGLE3_ROOT\/}
|
||||
fi
|
||||
zle .accept-line
|
||||
|
Reference in New Issue
Block a user