Skip to content

Commit

Permalink
completions
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Dec 28, 2024
1 parent 51e87e3 commit 3d4ee2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/starts/completions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ vmr completion powershell >> \Documents\WindowsPowerShell\vmr_completions.ps1
Import-Module -Name "$HOME\Documents\WindowsPowerShell\vmr_completions.ps1"
```

## Setup for bash
### Setup for bash

- Save vmr auto-completion script to bash script file.

Expand All @@ -33,7 +33,7 @@ vmr completion bash >> ~/vmr_completions.sh
source $HOME/vmr_completions.sh
```

## Setup for zsh
### Setup for zsh

- Add the line below to zsh profile file($HOME/.zshrc)

Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/zh-cn/starts/completions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ vmr completion powershell >> \Documents\WindowsPowerShell\vmr_completions.ps1
Import-Module -Name "$HOME\Documents\WindowsPowerShell\vmr_completions.ps1"
```

## MacOS/Linux bash 下设置 VMR 命令自动补全
### MacOS/Linux bash 下设置 VMR 命令自动补全

- 将 VMR 命令行自动补全脚本保存到 bash 脚本中

Expand All @@ -33,7 +33,7 @@ vmr completion bash >> ~/vmr_completions.sh
source $HOME/vmr_completions.sh
```

## MacOS/Linux zsh 下设置 VMR 命令自动补全
### MacOS/Linux zsh 下设置 VMR 命令自动补全

- 将 VMR 命令行自动补全脚本保存到 bash 脚本中

Expand Down

0 comments on commit 3d4ee2e

Please sign in to comment.