perf(conf.d): skip wakatime hook in non-interactive shells
fish_postexec is emitted only by the interactive reader (verified), so the handler could never fire in a script. No telemetry behaviour changes.
This commit is contained in:
@@ -9,6 +9,10 @@
|
|||||||
# site wakatime-autoexec: autoexec/telemetry
|
# site wakatime-autoexec: autoexec/telemetry
|
||||||
# site wakatime-hook: integrations/notifications
|
# site wakatime-hook: integrations/notifications
|
||||||
|
|
||||||
|
# Registers a fish_postexec handler; that event is emitted only by the
|
||||||
|
# interactive reader, so the handler is dead weight in a script.
|
||||||
|
status is-interactive; or return
|
||||||
|
|
||||||
# Local modification: opinionated guard (AGENTS.md Task #3). WakaTime
|
# Local modification: opinionated guard (AGENTS.md Task #3). WakaTime
|
||||||
# reporting is classified under both C2 auto-execution and C4 integrations;
|
# reporting is classified under both C2 auto-execution and C4 integrations;
|
||||||
# disabling either category skips registering the hook.
|
# disabling either category skips registering the hook.
|
||||||
|
|||||||
Reference in New Issue
Block a user