fix --dry-run
not working for shell init
on windows
#1583
This job was skipped
Loading
--dry-run
not working for shell init
on windows
#1583