Expand ~ to $home on Windows with tab completion
#21529
Merged
~ to $home on Windows with tab completion
#21529