From dfd8794da463dd4d0649c41537b5475eaac10447 Mon Sep 17 00:00:00 2001 From: Danilo Sampaio Date: Thu, 10 Sep 2020 05:13:30 -0300 Subject: docs: add a Powershell autocomplete example (#7329) --- docs/getting_started/setup_your_environment.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/getting_started') diff --git a/docs/getting_started/setup_your_environment.md b/docs/getting_started/setup_your_environment.md index 7aa7ec83f..c7b051262 100644 --- a/docs/getting_started/setup_your_environment.md +++ b/docs/getting_started/setup_your_environment.md @@ -66,6 +66,17 @@ After this add deno plugin under plugins tag in `~/.zshrc` file. for tools like `antigen` path will be `~/.antigen/bundles/robbyrussell/oh-my-zsh/plugins` and command will be `antigen bundle deno` and so on. +Example (Powershell): + +```shel +deno completions powershell > $profile +.$profile +``` + +This will be create a Powershell profile at +`$HOME\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1` by default, +and it will be run whenever you launch the PowerShell. + ### Editors and IDEs Because Deno requires the use of file extensions for module imports and allows -- cgit v1.2.3