Repository navigation
macOS: normalize working directory paths with FilePath - #12614
Conversation
jparise
left a comment
There was a problem hiding this comment.
Do we also need the FilePath treatment in func application(_ sender: NSApplication, openFile filename: String), which also sets config.workingDirectory? That filename comes from app launch path.
No, I checked that by dragging one on the dock icon, looks like AppKit already removed the trailing slashed. But I'll double check for |
Yes, the |
This fixes for nuShell when opening Ghostty via Finder service and Shortcuts, also makes path parsing more robust in AppleScript.
This fixes for Nushell when opening Ghostty via Finder service and Shortcuts, also makes path parsing more robust in AppleScript.