diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-23 14:21:35 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-11-23 14:21:35 +0800 |
| commit | aa436345dedec732e59dc32053e1845975120295 (patch) | |
| tree | f5879cef42e7af22ca59b4b9db8f7eb302657a42 /scripts/cli.sh | |
| parent | 1c5cef19565a57f30a21d280d63ebc0a1ecaf4fd (diff) | |
Rename CLI script and update completion paths
- Rename cli.sh to jv_cli.sh for better naming consistency - Update
completion script paths to point to new completions/bash directory -
Change 'jj' alias to 'jvh' for clearer naming
Diffstat (limited to 'scripts/cli.sh')
| -rw-r--r-- | scripts/cli.sh | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/scripts/cli.sh b/scripts/cli.sh deleted file mode 100644 index 2f4571d..0000000 --- a/scripts/cli.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# Get the real directory where this script is located -SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" - -############## -### CONFIG ### -############## - -# Use JV_LANG to set CLI language -# Supported: en, zh-CN -# export JV_LANG=en - -############### -### ALIASES ### -############### - -alias jj='jv here' -alias jvu='jv update' -alias jvt='jv track' -alias jmv='jv move' - -################## -### COMPLETION ### -################## - -if [ -f "$SCRIPT_DIR/completion_jv.sh" ]; then - source "$SCRIPT_DIR/completion_jv.sh" -fi -if [ -f "$SCRIPT_DIR/completion_jvv.sh" ]; then - source "$SCRIPT_DIR/completion_jvv.sh" -fi - -################## -### ENVIREMENT ### -################## - -if [ -d "$SCRIPT_DIR/bin" ]; then - export PATH="$SCRIPT_DIR/bin:$PATH" -fi |
