mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-27 03:39:20 +09:00
new: pwsh rustup completion
This commit is contained in:
parent
907253b097
commit
00ff665291
3 changed files with 487 additions and 3 deletions
|
@ -168,9 +168,9 @@ Import-Module scoop-completion
|
|||
#Import-Module "$($(Get-Item $(Get-Command scoop.ps1).Path).Directory.Parent.FullName)\modules\scoop-completion"
|
||||
|
||||
# chezmoi completion
|
||||
$script = "$HOME\.config\powershell\chezmoi_completion.ps1"
|
||||
if (Test-Path $script) {
|
||||
. $script
|
||||
$chezmoi_script = "$HOME\.config\powershell\chezmoi_completion.ps1"
|
||||
if (Test-Path $chezmoi_script) {
|
||||
. $chezmoi_script
|
||||
}
|
||||
|
||||
# git completion
|
||||
|
@ -203,3 +203,10 @@ rclone completion powershell | Out-String | Invoke-Expression
|
|||
# node
|
||||
Import-Module npm-completion
|
||||
|
||||
|
||||
# rustup completion
|
||||
$rustup_script = "$HOME\.config\powershell\rustup_completion.ps1"
|
||||
if (Test-Path $rustup_script) {
|
||||
. $rustup_script
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue