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.sh | |
| parent | 8f69598f6abfb2b3db076a15fed85c9c186ccbde (diff) | |
Split Unix completion script entry into separate bash/zsh/fish versions
Diffstat (limited to 'scripts/deploy/jvn.sh')
| -rw-r--r-- | scripts/deploy/jvn.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/deploy/jvn.sh b/scripts/deploy/jvn.sh deleted file mode 100644 index 25c6ad5..0000000 --- a/scripts/deploy/jvn.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!bin/bash -SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" - -# Completion script -if [ -n "$BASH_VERSION" ]; then - # Bash - if [ -f "$SCRIPT_DIR/comp/jvn_bash.sh" ]; then - source "$SCRIPT_DIR/comp/jvn_bash.sh" - fi -elif [ -n "$ZSH_VERSION" ]; then - # Zsh - if [ -f "$SCRIPT_DIR/comp/jvn_zsh.sh" ]; then - source "$SCRIPT_DIR/comp/jvn_zsh.sh" - fi -elif [ -n "$FISH_VERSION" ]; then - # Fish - if [ -f "$SCRIPT_DIR/comp/jvn_fish.fish" ]; then - source "$SCRIPT_DIR/comp/jvn_fish.fish" - fi -fi - -# Envirement -if [ -d "$SCRIPT_DIR/bin" ]; then - export PATH="$SCRIPT_DIR/bin:$PATH" -fi |
