This repository has been archived on 2023-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
stackToDo/tpeek

14 lines
254 B
Plaintext
Raw Permalink Normal View History

2021-10-22 15:00:53 +00:00
#!/bin/bash
#zero arguments
if [ "$#" -ne 0 ]; then
echo "Usage:" $0
echo "Returns what is at the top of the todo stack"
fi
#make correct directories
mkdir -p ~/.config/stackToDo
touch ~/.config/stackToDo/todo
tail -1 ~/.config/stackToDo/todo