Created
April 3, 2023 18:38
-
-
Save joemccall86/45a3403232adc6a1338e67ffeeb57bd7 to your computer and use it in GitHub Desktop.
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
# 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