Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Dec 25, 2024
1 parent c2fbd78 commit 6624bc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/content/docs/starts/completions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import { Tabs, TabItem, Aside } from "@astrojs/starlight/components";
<TabItem label="Powershell" icon="seti:shell">
vmr completion powershell >>
.\Documents\WindowsPowerShell\vmr_completions.ps1 # Add following line to
powershell profile at $HOME\Documents\WindowsPowerShell\profile.ps1
powershell profile at $HOME\Documents\WindowsPowerShell\profile.ps1:
Import-Module -Name "$HOME\Documents\WindowsPowerShell\vmr_completions.ps1"
</TabItem>
<TabItem label="Bash" icon="seti:shell">
vmr completion bash >> ~/vmr_completions.sh # Add following line to bash
profile at $HOME/.bashrc source $HOME/vmr_completions.sh
profile at $HOME/.bashrc: source $HOME/vmr_completions.sh
</TabItem>
<TabItem label="zsh" icon="seti:shell">
vmr completion zsh >> ~/vmr_completions.sh # Add following line to zsh
profile at $HOME/.zshrc source $HOME/vmr_completions.sh
profile at $HOME/.zshrc: source $HOME/vmr_completions.sh
</TabItem>
</Tabs>
2 changes: 1 addition & 1 deletion src/content/docs/zh-cn/starts/completions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Tabs, TabItem, Aside } from "@astrojs/starlight/components";
<TabItem label="Powershell" icon="seti:shell">
vmr completion powershell >>
.\Documents\WindowsPowerShell\vmr_completions.ps1 #
将下面一行命令添加到Powershell的profile文件中($HOME\Documents\WindowsPowerShell\profile.ps1)
将下面一行命令添加到Powershell的profile文件中($HOME\Documents\WindowsPowerShell\profile.ps1):
Import-Module -Name "$HOME\Documents\WindowsPowerShell\vmr_completions.ps1"
</TabItem>
<TabItem label="Bash" icon="seti:shell">
Expand Down

0 comments on commit 6624bc4

Please sign in to comment.