mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
Sync from Windows
This commit is contained in:
parent
8a7397c426
commit
d5f8d807b9
80 changed files with 6079 additions and 5097 deletions
9
powershell/Completions.ps1
Normal file
9
powershell/Completions.ps1
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
function Invoke-Completion {
|
||||
param ([string]$command)
|
||||
switch ($command) {
|
||||
'docker' { docker completion powershell | Out-String | Invoke-Expression }
|
||||
'git' { Import-Module Posh-Git }
|
||||
'hugo' { hugo completion powershell | Out-String | Invoke-Expression }
|
||||
'pip' { pip completion --powershell | Out-String | Invoke-Expression }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue