Skip to content

Commit 905f46d

Browse files
Update wsl.md
1 parent 4e177ca commit 905f46d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

markdown/wsl.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ WSL allows Windows users to run Linux (Unix) [locally at a system-level](https:/
5656
```
5757
* After making changes to the configuration file, WSL needs to be shutdown for [8 seconds](https://docs.microsoft.com/en-us/windows/wsl/wsl-config#the-8-second-rule)
5858
* `wsl --shutdown`
59-
* **OPTIONAL**: Change home directory to host Windows' home
59+
* **OPTIONAL**
60+
* Change home directory to host Windows' home
6061
```bash
6162
# copy dotfiles to host home directory
62-
cp $HOME/.* /mnt/c/Users/<username>
63+
cp -rfv $HOME/.* /mnt/c/Users/<username>
6364
6465
# edit /etc/passwd
6566
<username>:x:1000:1000:,,,:/mnt/c/Users/<username>:/bin/bash

0 commit comments

Comments
 (0)