You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eliminate global return values: __autoreload_conf_files now returns file list via stdout instead of the __autoreload_discovered_files global variable. Callers capture output in local variables.
Extract __autoreload_is_disabled predicate: Consistent with is_debug, is_quiet, cleanup_enabled pattern.
Replace pipe with command substitution in __autoreload_key to avoid unnecessary subprocess.
Performance
Merge two stat forks into one: __autoreload_run_check now gets mtimes for tracked files and the conf.d directory in a single batch stat call, reducing fork count per prompt.
Bug Fix
Race condition fallback: When a file vanishes between test -f and stat (causing count mismatch), the check now falls back to per-file stat instead of silently skipping changes.
Tests
Add test for config.fish modification detection (not just creation).
Add test for batch stat fallback path using mocked __autoreload_mtime.
123 tests passing.
Documentation
Document fish_user_paths cross-shell side effect in README limitations.