From 72f80ea51f25256d0c463c2f3dc3d8670cfc4634 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 14 Mar 2026 22:12:30 +0800 Subject: Add shell completions for new jvn CLI --- scripts/deploy/jvn.ps1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/deploy/jvn.ps1 (limited to 'scripts/deploy/jvn.ps1') diff --git a/scripts/deploy/jvn.ps1 b/scripts/deploy/jvn.ps1 new file mode 100644 index 0000000..64959d0 --- /dev/null +++ b/scripts/deploy/jvn.ps1 @@ -0,0 +1,13 @@ +$SCRIPT_DIR = Split-Path -Parent $MyInvocation.MyCommand.Definition + +# Completion +$completionScript = Join-Path $SCRIPT_DIR "comp\jvn_pwsl.ps1" +if (Test-Path $completionScript) { + . $completionScript +} + +# Envirement +$binPath = Join-Path $SCRIPT_DIR "bin" +if (Test-Path $binPath) { + $env:PATH = "$binPath;$env:PATH" +} -- cgit