From fb2ffa849a2cf9251cc274ebea5daa9898579787 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 26 Mar 2026 15:55:10 +0800 Subject: Add shell completion system with descriptions and i18n support --- scripts/deploy/jvn_powershell.ps1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/deploy/jvn_powershell.ps1 (limited to 'scripts/deploy/jvn_powershell.ps1') diff --git a/scripts/deploy/jvn_powershell.ps1 b/scripts/deploy/jvn_powershell.ps1 new file mode 100644 index 0000000..495ed43 --- /dev/null +++ b/scripts/deploy/jvn_powershell.ps1 @@ -0,0 +1,13 @@ +$SCRIPT_DIR = Split-Path -Parent $MyInvocation.MyCommand.Definition + +# Completion +$completionScript = Join-Path $SCRIPT_DIR "comp\comp.ps1" +if (Test-Path $completionScript) { + . $completionScript +} + +# Envirement +$binPath = Join-Path $SCRIPT_DIR "bin" +if (Test-Path $binPath) { + $env:PATH = "$binPath;$env:PATH" +} -- cgit