diff --git a/zsh/.aliases.sh b/zsh/.aliases.sh index e38f688..71f6cd3 100644 --- a/zsh/.aliases.sh +++ b/zsh/.aliases.sh @@ -125,21 +125,3 @@ to_mac(){ scp $1 cnieves-macbookpro.roam.internal:~/Downloads echo "Saved $1 to downloads" } - -alias acid=/google/bin/releases/mobile-devx-platform/acid/acid -alias apido='/google/data/ro/teams/oneplatform/apido' -alias bugs=/google/data/rw/users/mk/mkannan/www/bin/bugs -alias cider='/google/src/head/depot/google3/experimental/cider_here/cider_here.sh' -alias crow=/google/bin/releases/mobile-devx-platform/crow/crow.par -alias er=/google/data/ro/users/ho/hooper/er -alias fixjs=/google/src/files/head/depot/google3/third_party/java_src/jscomp/java/com/google/javascript/jscomp/lint/fixjs.sh -alias fortune=/google/data/ro/users/di/diamondm/engfortunes/fortune.sh -alias hgcdg4='cd $(g4 g4d $(hg exportedcl))' -alias jadep=/google/data/ro/teams/jade/jadep -alias replace_string=/google/src/head/depot/google3/devtools/scripts/replace_string -alias safergcp=/google/bin/releases/safer-gcp/tools/safergcp -alias add_deps_to_usages='/google/src/head/depot/google3/apps/framework/tools/add_deps_to_usages.sh' -alias plxutil='/google/data/ro/teams/plx/plxutil' - -export HGSHORT_CMDS="ls cat head tail mv cp rm chmod g4 diff merge patch meld trim less more" -alias hgd='source /google/src/head/depot/google3/experimental/fig_contrib/hgshort/hgd.sh' diff --git a/zsh/.bash_profile.google b/zsh/.bash_profile.google index 94cb0ee..6d4e5ef 100644 --- a/zsh/.bash_profile.google +++ b/zsh/.bash_profile.google @@ -57,4 +57,21 @@ source ~/fzf-at-google.zsh source ~/g3path.zsh source /etc/bash_completion.d/hgd +alias acid=/google/bin/releases/mobile-devx-platform/acid/acid +alias apido='/google/data/ro/teams/oneplatform/apido' +alias bugs=/google/data/rw/users/mk/mkannan/www/bin/bugs +alias cider='/google/src/head/depot/google3/experimental/cider_here/cider_here.sh' +alias crow=/google/bin/releases/mobile-devx-platform/crow/crow.par +alias er=/google/data/ro/users/ho/hooper/er +alias fixjs=/google/src/files/head/depot/google3/third_party/java_src/jscomp/java/com/google/javascript/jscomp/lint/fixjs.sh +alias fortune=/google/data/ro/users/di/diamondm/engfortunes/fortune.sh +alias hgcdg4='cd $(g4 g4d $(hg exportedcl))' +alias jadep=/google/data/ro/teams/jade/jadep +alias replace_string=/google/src/head/depot/google3/devtools/scripts/replace_string +alias safergcp=/google/bin/releases/safer-gcp/tools/safergcp +alias add_deps_to_usages='/google/src/head/depot/google3/apps/framework/tools/add_deps_to_usages.sh' +alias plxutil='/google/data/ro/teams/plx/plxutil' +export HGSHORT_CMDS="cat head tail mv cp rm chmod g4 diff merge patch meld trim less more" +alias hgd='source /google/src/head/depot/google3/experimental/fig_contrib/hgshort/hgd.sh' + export ACID_STARTUP_SCRIPT_PATH=~/acid_startup.sh diff --git a/zsh/.zshrc b/zsh/.zshrc index 81052c2..ea75761 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -176,11 +176,11 @@ done prompt_google3() { if [[ $PWD =~ '/google/src/cloud/[^/]+/(.+)/google3(.*)' ]]; then - GPROMPT=$(print -r -- "%F{white}//${match[2]#/}") + GPROMPT=$(print -r -- "//${match[2]#/}") else - GPROMPT=$(print -r -- "%F{white}$PWD") + GPROMPT=$(print -r -- "$PWD") fi - p10k segment -b 147 -t $GPROMPT + p10k segment -b '#afafff' -f '#fff' -t $GPROMPT } prompt_workspace() {