feat(file-manager): move the shell while browsing the panel

Opening a directory in the panel now hands it to the shell, so walking the tree
reads like cd and the two stay on the same directory. The request is still read
at the shell's next prompt, and quitting without validating withdraws a request
the shell has not read yet, so Esc keeps leaving the shell where it was.
This commit is contained in:
BlackAngelTV committed 2026-11-11 08:48:03 +01:00
1 parent e7e4e849eb
commit 5d2e28b144
6 files changed
+88 -18

No files matched your search

+5 -5
View File
@@ -224,11 +224,11 @@ Detailed list of changes
- The :doc:`file manager <kittens/file-manager>` now keeps its directory in
step with the shell by default: a :code:`cd` moves the panel into the same
directory and validating a directory moves the shell at its next prompt, for
bash, zsh and fish. Nothing is typed into the terminal, so no command lands
in the history and a multi-line command being typed is left untouched. Set
:code:`sync_cwd no` in :file:`file-manager.conf` to keep the two directories
independent, as before.
directory and walking through the panel moves the shell at its next prompt,
for bash, zsh and fish. Nothing is typed into the terminal, so no command
lands in the history and a multi-line command being typed is left untouched.
Set :code:`sync_cwd no` in :file:`file-manager.conf` to keep the two
directories independent, as before.
- :kbd:`Ctrl+Shift+E` now opens the :doc:`file manager kitten
<kittens/file-manager>` in a left dock by default, instead of requiring a