Closed narnaud closed 7 years ago
Rather use (Get-PsProvider 'FileSystem').home, in case the user is not working in $Env:USERPROFILE, but want to keep using ~.
I'm actually in this case:
I want to keep all dot files or settings files in $home, but use cd ~ to got ot C:\nicolas
cd ~
Looks good — thanks!
Rather use (Get-PsProvider 'FileSystem').home, in case the user is not working in $Env:USERPROFILE, but want to keep using ~.
I'm actually in this case:
I want to keep all dot files or settings files in $home, but use
cd ~
to got ot C:\nicolas