mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-10-28 17:05:13 +08:00
* fix: shell history, config ZDOTDIR, keymap hot-reload and window close - A ZDOTDIR set in config `env` no longer replaces the zsh integration redirector; it is handed to it as TTY7_USER_ZDOTDIR instead. - Shell integration reports the shell's HISTFILE to `<config>/shell-histfiles`, so ⌃R and GUI history find history kept outside $HOME/.zsh_history. - The config watcher watches the canonical config dir: FSEvents reports resolved paths, so a dir reached through a symlink (/tmp) never matched and `keybindings` edits were not picked up. - ⌘↩ in the ⌃R menu runs the selected line instead of toggling full screen. - Close Window (shells keep running) gets ⇧⌘W on macOS and a File menu entry. * fix: keep the newest reported histfiles; bind the menu's run to cmd-enter - shell-histfiles is append-only and panes starting together append the same path; reading the first 32 lines let stale or duplicate entries hide every path reported later. Keep the newest 32 distinct ones. - secondary-enter is ctrl-enter off macOS, where the Ctrl+R menu only accepts on that chord. Bind cmd-enter, matching the menu's own key handler on every platform.