Last active
September 12, 2015 03:34
-
-
Save EdHurtig/c2e704016095cae3e229 to your computer and use it in GitHub Desktop.
Put me in your .bashrc!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function vagrant() { | |
command vagrant $@ | |
if [[ $1 -eq "up" && $? -eq 0 ]]; then | |
date >> .bounces | |
fi | |
} | |
function bounces() { | |
cat .bounces | wc -l | | tr -d '[[:space:]]' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment