From 8c32bbbf9fab115dc51afa17c081e0763cbee717 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 2 Jun 2026 12:16:38 -0500 Subject: refactor: drop in-repo dotfiles/, move stow tooling to the dotfiles repo Since the installer clones DOTFILES_REPO into ~/.dotfiles and stows from there, the in-repo dotfiles/ tree was dead weight. Nothing reads it at install time. I removed it (831 files) now that both machines are migrated. The Makefile's stow / restow / reset / unstow / import targets and the dotfile-script unit suites moved to the dotfiles repo. They sit alongside the scripts they manage and run standalone (cd ~/.dotfiles && make ...). This Makefile keeps the VM-integration targets and the installer-helper suite (safe-rm-rf). I updated CLAUDE.md and README.md so stow operations run from ~/.dotfiles, and the dotfile-management, theme, and unit-test sections point at the standalone repo. The README was already describing the old in-repo model from before the installer switched to cloning. This brings it in line. --- dotfiles/common/.zsh/modules/Test/B04read.ztst | 112 ------------------------- 1 file changed, 112 deletions(-) delete mode 100644 dotfiles/common/.zsh/modules/Test/B04read.ztst (limited to 'dotfiles/common/.zsh/modules/Test/B04read.ztst') diff --git a/dotfiles/common/.zsh/modules/Test/B04read.ztst b/dotfiles/common/.zsh/modules/Test/B04read.ztst deleted file mode 100644 index 25c3d41..0000000 --- a/dotfiles/common/.zsh/modules/Test/B04read.ztst +++ /dev/null @@ -1,112 +0,0 @@ -# Tests for the read builtin - -# Tested elsewhere: -# reading from a coprocess A01grammar, A04redirect - -# Not tested: -# -c/-l/-n (options for compctl functions) -# -q/-s (needs a tty) - -%test - - read <<<'hello world' - print $REPLY -0:basic read command ->hello world - - read -A <<<'hello world' - print $reply[2] -0:array read ->world - - read -k3 -u0 <<foo - - for char in y Y n N X $'\n'; do - read -q -u0 <<<$char - print $? - done -0:read yes or no, default no ->0 ->0 ->1 ->1 ->1 ->1 - - read -d: <<foo - - print foo:bar|IFS=: read -A - print $reply -0:use different, IFS separator to array ->foo bar - - print -z hello world; read -z - print $REPLY -0:read from editor buffer stack ->hello world - - unset REPLY - read -E <<hello ->hello - - unset REPLY - read -e <<hello -> - - read -e -t <<hello - - SECONDS=0 - read -e -t 5 <<hello ->0 - - print -n 'Testing the\0null hypothesis\0' | - while read -d $'\0' line; do print $line; done -0:read with null delimiter ->Testing the ->null hypothesis - -# Note that trailing NULLs are not stripped even if they are in -# $IFS; only whitespace characters contained in $IFS are stripped. - print -n $'Aaargh, I hate nulls.\0\0\0' | read line - print ${#line} -0:read with trailing metafied characters ->24 - - (typeset -r foo - read foo) <<one ->two ->three ->one:two:three - - array=() - read -Ae array <<<'four five six' - print ${(j.:.)array} -0:Behaviour of -A and -e combination ->four ->five ->six -> -- cgit v1.2.3