1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-01-24 03:30:48 +01:00

- substituted . with $PWD when opening file explorer.

This commit is contained in:
cage 2022-01-06 18:22:33 +01:00
parent 339afc6ee0
commit 6fd24dd441

View File

@ -2416,8 +2416,9 @@ printed, on the main window."
(defun open-file-explorer (&optional (root "/"))
(with-enqueued-process ()
(filesystem-tree-window:init root)
(focus-to-filesystem-explorer-window)))
(let ((actual-root (fs:prepend-pwd root)))
(filesystem-tree-window:init actual-root)
(focus-to-filesystem-explorer-window))))
(defun file-explorer-expand-path ()
(when-let* ((win *filesystem-explorer-window*)