From: Edward Delaporte Date: Thu, 16 Jul 2026 21:16:24 +0000 (-0500) Subject: Add dot list command X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/dbec994f7910bb719c1cd8c31335c5dc8fd9c6b3?ds=inline;hp=2f0e96ce4b1599449e9a10564d760e2f31ae73b0 Add dot list command --- 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"