Created
April 3, 2023 18:38
-
-
Save joemccall86/b61402a82b084e423fc79fb2358f85e9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Usage: brag "thing you did" | |
# | |
# This creates/appends to a txt file in your ~/brags folder that you can use later on. It's tagged with the month. | |
function brag() { | |
export MSG="$1" | |
export BRAGFILE="$HOME/brags/brag_${USER}_$(date +%b).txt" | |
echo "* $MSG" >> "$BRAGFILE" | |
echo "Good job!" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment