Skip to content

Commit 1ad1a72

Browse files
committed
🔧 Add module manifest
1 parent 1b0cb88 commit 1ad1a72

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/completions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Register-ArgumentCompleter -Native -CommandName $_ -ScriptBlock {
33
param($wordToComplete, $commandAst, $cursorPosition)
44

5-
. (Join-Path $PSScriptRoot .\commands.ps1)
5+
. $PSScriptRoot\commands.ps1
66
$cmds |
77
Where-Object { $_ -like "$wordToComplete*" } |
88
Sort-Object |

src/npm-completion.psd1

7.9 KB
Binary file not shown.

src/npm-completion.psm1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if (Get-Module npm-completion) { return }
2+
3+
. $PSScriptRoot\completions.ps1

0 commit comments

Comments
 (0)