File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,13 +234,13 @@ r"DISCUSSION:
234
234
235
235
Now open the file provided by `$profile` (if you used the
236
236
`New-Item` command it will be
237
- `% USERPROFILE% \Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1`
237
+ `${env: USERPROFILE} \Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1`
238
238
239
239
Next, we either save the completions file into our profile, or
240
240
into a separate file and source it inside our profile. To save the
241
241
completions into our profile simply use
242
242
243
- PS C:\> rustup completions powershell >> % USERPROFILE% \Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1" ;
243
+ PS C:\> rustup completions powershell >> ${env: USERPROFILE} \Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1" ;
244
244
245
245
pub static TOOLCHAIN_ARG_HELP : & ' static str = "Toolchain name, such as 'stable', 'nightly', \
246
246
or '1.8.0'. For more information see `rustup \
You can’t perform that action at this time.
0 commit comments