Get sh*t done now, organize later!
- Clone the repo
$ git clone [email protected]:matthewfollegot/todo.sh.git
and cd into the project$ cd todo.sh/
- Ensure you have Bash >
4.0
installed, see here for more details - Have fun with the todo list by running
./add.sh <item-to-add>
to add an item,./remove.sh <item-to-remove>
to remove an item,./todo.sh
to print the contents of the todo list and./clear.sh
to clear the todo list
- Open up a terminal and check your current version of Bash
$ bash --version
or$ echo ${BASH_VERSION}
. If it's >4.0
, you don't need to proceed with installing a newer version of Bash brew install bash
- To verify the installation,
$ which -a bash
should give:where/usr/local/bin/bash bin/bash
/usr/local/bin/bash
is the new version that's been installed - You can verify this with
$ /usr/local/bin/bash --version
which should be >5.0
and$ /bin/bash --version
which should be3.2.57
from 2007 ๐ - Whitelist (add the new version of bash to the list of trusted shells) with
$ sudo vim /etc/shells
and add/usr/local/bin/bash
to the the file - Set the default shell to use the newer version of Bash
$ chsh -s /usr/local/bin/bash
- Restart the shell and
echo ${BASH_VERSION}
should now give5.0.0(1)-release
or greater
- minimal todo list API implementation (add, delete, print)
- persistence upon shell termination
- Makefile for rapid testing
- item toggles on todo list
- reminders based on duration of task