dotfiles
bugabingas dorkfiles
owned by bugabinga
nushell: fix wezterm hostname lookup
4ce112bb0116865be3d84d63e4b339f77bd000f7
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (1)
nushell/modules/wezterm_integration.nu
Modified29 29 def __wezterm_osc7 [] {
30 - let hostname = (hostname)
30 + let hostname = (sys host).hostname
31 31 let cwd = (
$env.PWD | str replace --all
'\\' '/')
32 32 let osc = (ansi --osc $
"7;file://($hostname)($cwd)")
33 33 print -n (
$osc + (char bel))