Skip to content

Instantly share code, notes, and snippets.

@mahdyar
Created April 25, 2019 20:53
Show Gist options
  • Save mahdyar/77ac5d7ab94e2e7dc2257904c59f7955 to your computer and use it in GitHub Desktop.
Save mahdyar/77ac5d7ab94e2e7dc2257904c59f7955 to your computer and use it in GitHub Desktop.
Simple TODO-List Manager
#!/bin/sh
TODO=~/.TODO
# The Path of The TODO-List
alias clt="rm -rf $TODO" # For make the List empty.
alias adt="echo '#'$1 >> $TODO" # For add an Item to the List.
# Displaying the List..
if test -f "$TODO";then
cat ~/.TODO
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment