Skip to content

Commit

Permalink
doc(powershell): howto create profile. (#132)
Browse files Browse the repository at this point in the history
* doc: add powershell mount instrucation

* doc: add instruction
  • Loading branch information
leihenshang authored Mar 20, 2024
1 parent aa08e8c commit 40cf3a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/guides/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ Open PowerShell Profile:

```shell
New-Item -Type File -Path $PROFILE # Just ignore the 'file already exists' error.
Invoke-Item $PROFILE

# If it prompts "Unable to find the path", then you need to forcefully create profile. Add the "-Force" option.
# New-Item -Type File -Path $PROFILE –Force

Invoke-Item $PROFILE # open Profile
```

Add the following line to the end of your profile and save:
Expand Down
6 changes: 5 additions & 1 deletion docs/zh-hans/guides/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ echo 'vfox activate fish | source' >> ~/.config/fish/config.fish

```shell
New-Item -Type File -Path $PROFILE # 无需在意 `文件已存在` 错误
Invoke-Item $PROFILE

# 如果它提示未能找到路径,那么你需要强制创建profile。添加"-Force"选项。
# New-Item -Type File -Path $PROFILE –Force

Invoke-Item $PROFILE # 打开profile
```

将下面一行添加到你的 $PROFILE 文件末尾并保存:
Expand Down

0 comments on commit 40cf3a9

Please sign in to comment.