macOS: normalize working directory paths with FilePath#12614
macOS: normalize working directory paths with FilePath#12614bo2themax wants to merge 1 commit intoghostty-org:mainfrom
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 |
This fixes for nuShell when opening Ghostty via Finder service and Shortcuts, also makes path parsing more robust in AppleScript.
Yes, the |
This fixes for Nushell when opening Ghostty via Finder service and Shortcuts, also makes path parsing more robust in AppleScript.