You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I duplicate a tab in Windows Terminal with osc9_9 enabled in config.nu, if my current working directory is in a mapped network drive, the duplicated tab shows the current working directory as a canonicalized UNC path. This is a known Rust issue: rust-lang/rust#42869
When I duplicate a tab in Windows Terminal with
osc9_9
enabled inconfig.nu
, if my current working directory is in a mapped network drive, the duplicated tab shows the current working directory as a canonicalized UNC path. This is a known Rust issue: rust-lang/rust#42869I suggest using
std::path::absolute
(although it does not resolve symlinks or access the filesystem) instead ofstd::fs::canonicalize
before sending the path to the terminal using OSC 9.Another alternative is to replace the UNC prefix with the mapped network drive letter whenever possible.
Yet another alternative is to simply send up
$env.PWD
.Thoughts on this?
The text was updated successfully, but these errors were encountered: