about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/zsh/functions.zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/shared/zsh/functions.zsh b/configs/shared/zsh/functions.zsh
index 4a0ee94b2926..cb6154a14915 100644
--- a/configs/shared/zsh/functions.zsh
+++ b/configs/shared/zsh/functions.zsh
@@ -1,3 +1,10 @@
+prodaccess() {
+  # Wraps existing `prodaccess` command to provide Google-specific tips.
+  # Take from this: https://g3doc.corp.google.com/experimental/users/diamondm/fortunes/README.md?cl=head
+  command prodaccess "$@" && \
+    cowsay $(/google/data/ro/users/di/diamondm/engfortunes/fortune.sh --extra_space)
+}
+
 fv() {
   # Usage: fv file pattern
   # This is useful when you know the fuzzy name of the file you want to edit