Some time ago I added a few scripts in the form of
@button nodes that did useful things with the outline's current directory:
- Open a command window/terminal at the current directory;
- Open a file manager window at the current directory;
- Copy the current directory to the clipboard.
"Current directory" means the directory in effect at the selected node - e.g., @path, @file, etc., otherwise the outline's directory.
The Leo method used by these scripts changed and caused these scripts to sometimes go to the parent directory instead.
I've changed the code to work as intended, and I changed from using the os.path library to pathlib.
These changes have been merged into the "master" branch of TomPassinScripts.leo in the leo-editor-contrib repo on GitHub.