refactor(config): migrate C2 autoexec call sites to self-identifying guard

This commit is contained in:
2026-08-17 21:23:12 -04:00
parent 04fd832974
commit 760b8e68fd
5 changed files with 22 additions and 4 deletions
+4 -1
View File
@@ -14,8 +14,11 @@
# Manage the registry with: auto-pull add / remove / list / status
# C2 guard: when auto-execution is disabled, do not register the handler.
__fish_config_op_enabled __fish_config_op_autoexec; or exit
__fish_config_op_enabled (status basename); or exit
# COMPONENT
# autoexec/sync
#
# SYNOPSIS
# __auto_pull_on_pwd (event handler, --on-variable PWD)
#