Add daily Google ENG tips to prodaccess
Wraps the existing `prodaccess` executable and displays a quote from Google ENG's fortune db. Fortune is a GNU tool intended to support random quote compilation, display, etc. It's pretty interesting. NOTE: the `prodcertstatus` executable that this function is using as a guard looks like it might be useful moving forward.
This commit is contained in:
parent
2b34daf50a
commit
ac34df2372
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue