refactor(kitty-logging): move watcher to scripts/ and symlink it
Relocate the Kitty scrollback watcher out of the single-purpose kitty/ directory into scripts/kitty-fish-config-watcher.py, and change the installer to symlink it into the Kitty config directory instead of copying it. The symlink always tracks the canonical source, which removes the version-staleness comparison and the copy-vs-refresh messaging. uninstall now removes a symlink (including a dangling one) or a legacy copied file. Existing installs migrate automatically on the next `kitty-logging install`. Docs (README, docs/fish-config.md, wiki) updated to match.
This commit is contained in:
@@ -319,9 +319,9 @@ snapshot point from the shell is a clean exit. To guarantee a zellij pane is
|
||||
logged, end the session with `exit` or Ctrl-D rather than zellij's close-pane
|
||||
or quit actions.
|
||||
|
||||
The Kitty watcher is managed by the kitty-logging command: it installs a
|
||||
version-marked watcher (fish-config-watcher.py) into the Kitty config directory
|
||||
and wires it into kitty.conf via a managed block. Inside Kitty, a non-blocking
|
||||
The Kitty watcher is managed by the kitty-logging command: it symlinks the
|
||||
watcher (fish-config-watcher.py) into the Kitty config directory and wires it
|
||||
into kitty.conf via a managed block. Inside Kitty, a non-blocking
|
||||
per-session reminder points first-time users at `kitty-logging install` until
|
||||
they install or run `kitty-logging dismiss`. Install affects new Kitty windows
|
||||
only; runtime disable is still handled by the .logging_disabled sentinel.
|
||||
|
||||
Reference in New Issue
Block a user