Last active
July 3, 2017 12:08
-
-
Save dom111/0a858821298e73b45df34cf9c3e7f2ca 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
curl https://gist.githubusercontent.com/dom111/f18f95dfcdff16eae901f69bb49d2f32/raw/932f9549351141965d16dc390b89eb4845f83982/TODO.sh > ~/TODO.sh; | |
chmod +x ~/TODO.sh; | |
if [ ! -e ~/TODO ]; then | |
echo "First TODO item" > ~/TODO; | |
echo "Second TODO item" >> ~/TODO; | |
echo "Third TODO item" >> ~/TODO; | |
fi | |
if [ -n $PROMPT_COMMAND ]; then | |
export PROMPT_COMMAND="$PROMPT_COMMAND; ~/TODO.sh"; | |
else | |
export PROMPT_COMMAND="~/TODO.sh"; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment