 }
 
 ; Prepare mintty_base and wslbridge_base {{{1
-icon_option = -i "%A_ScriptFullPath%"
+icon_path = %A_ScriptFullPath%
 if (icon != "" && FileExist(icon)) {
-    icon_option = -i "%icon%"
+    icon_path = %icon%
 }
 
 distro_option := ""

}

if (cmd != "") {
    Run, %mintty_base% %mintty_options% -t "%title%" %wslbridge_base% %opts% %cmd%
}

; Activate window {{{1

    distro_option = --distro-guid %distro_guid%
}

mintty_base = "%A_ScriptDir%\bin\mintty" --wsl --rootfs=// --configdir "%A_ScriptDir%\etc" -i "%icon_path%"
wslbridge_base = -e /bin/wslbridge %distro_option% -e SHELL="%shell%" -e LANG

; Run as run-wsl-file or any editor {{{1
