summaryrefslogtreecommitdiff
path: root/scripts/deploy/jvn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy/jvn.sh')
-rw-r--r--scripts/deploy/jvn.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/deploy/jvn.sh b/scripts/deploy/jvn.sh
new file mode 100644
index 0000000..25c6ad5
--- /dev/null
+++ b/scripts/deploy/jvn.sh
@@ -0,0 +1,25 @@
+#!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