bulk changes

This commit is contained in:
2025-08-24 18:36:56 -04:00
parent 88656994c9
commit 45bfdb155c
5 changed files with 73 additions and 10 deletions

24
tools/new-doc Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
name=$1
cat <<EOF > doc/$name
Yb dP db 88 888888
YbdP dPYb 88 88
8P dP__Yb 88 88
dP dP""""Yb 88 88
yait manual
$name
$(printf '%*s\n' "${#name}" '' | tr ' ' '#')
EOF
if [ "$EDITOR" = "nvim" ]; then
nvim +'normal! Gi' doc/$name
exit 0
fi
$EDITOR doc/$name