Refactor architecture to use standalone scripts in ~/.local/bin/ instead of ~/.bashrc

This commit is contained in:
2026-05-31 12:55:54 +07:00
parent 4f25596867
commit 61c21fe296
4 changed files with 435 additions and 857 deletions

View File

@@ -1,18 +0,0 @@
#!/usr/bin/env bash
test_func() {
echo "Starting background process..."
sleep 100 &
local pid=$!
echo "Background PID: $pid"
echo "Starting foreground sleep (simulate claude)..."
sleep 10
echo "Foreground sleep finished. Cleaning up background process $pid..."
kill "$pid"
wait "$pid" 2>/dev/null
echo "Cleanup done."
}
test_func