From dbec994f7910bb719c1cd8c31335c5dc8fd9c6b3 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Thu, 16 Jul 2026 16:16:24 -0500 Subject: [PATCH 1/1] Add dot list command --- bin/dot | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/dot b/bin/dot index 009f9aa..5d26436 100755 --- a/bin/dot +++ b/bin/dot @@ -47,6 +47,9 @@ EOF read -d '' EXTRA_HELP << EOF +dot list + display the contents of $TASKFILE + dot install SCRIPT updates ~/dot.HOSTNAME.yaml to run ~/dotfiles/SCRIPT.sh if it has not yet been run @@ -95,6 +98,11 @@ if [[ ! -f "$TASKFILE" ]]; then echo "$EMPTY_TASKFILE" >> $TASKFILE fi +if [ "$1" == "list" ]; then + cat $TASKFILE + exit 0 +fi + if [ "$1" == "setup" ]; then if [[ ! -f "$ANSIBLE" ]]; then mkdir -p "$ENVS" -- 2.47.3