diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-25 13:22:16 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-25 13:22:16 +0800 |
| commit | fece037f453006c83c45825e3649495180eb30c9 (patch) | |
| tree | 5ce6f59c1daf525eeb73ce54393b9cd572774a53 /scripts/deploy/jvn_fish.fish | |
| parent | 8f69598f6abfb2b3db076a15fed85c9c186ccbde (diff) | |
Split Unix completion script entry into separate bash/zsh/fish versions
Diffstat (limited to 'scripts/deploy/jvn_fish.fish')
| -rw-r--r-- | scripts/deploy/jvn_fish.fish | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/deploy/jvn_fish.fish b/scripts/deploy/jvn_fish.fish new file mode 100644 index 0000000..f9dd2a2 --- /dev/null +++ b/scripts/deploy/jvn_fish.fish @@ -0,0 +1,12 @@ +#! /usr/bin/env fish +set SCRIPT_DIR (dirname (status --current-filename)) + +# Completion script +if test -f "$SCRIPT_DIR/comp/jvn_fish.fish" + source "$SCRIPT_DIR/comp/jvn_fish.fish" +end + +# Environment +if test -d "$SCRIPT_DIR/bin" + set -gx PATH "$SCRIPT_DIR/bin" $PATH +end |
