A terminal script that quickly allows the User to make note of things with a simple command
Find a file
FMallon f094fe0f20
Rename main function to main_todo
Possible bug fix that could cause conflicts if script is sourced.
2026-01-10 12:39:12 +01:00
README.md Create README.md 2024-07-15 04:56:46 +01:00
todo.sh Rename main function to main_todo 2026-01-10 12:39:12 +01:00

ToDo

Old script I made, newly improved to work with zShell, as well as restore-from-backup functionality.

The script will use, and add to a text file, User Notes.

In terminal:

  • todo -a #this will bring up a prompt for the User to add a not. Pressing Enter, then [Ctrl+d] will append to the file. [Ctrl + c] will cancel.

  • todo -e #this will allow the User to edit manually via Nano

  • todo -h #will bring up a Help Menu with all the options

There are other functions, like auto-backup, and restoring from backup file.

This is functional with zShell & Bash.

Installation Guide

Then add to your ~/.bashrc &/or ~/.zshrc:

  • alias [your desired alias name]='. ~/The/Path/To/The/Folder/todo.sh'
    #example: alias todo='. ~/Programs/ToDo/todo.sh'
    #or: alias todo='source ~/Programs/ToDo/todo.sh'
    #this will depend on your path to the Program, and your desired alias name etc.