1
0
Fork 0
mirror of synced 2024-12-14 03:15:47 -05:00

fix: ensure SCRIPT_DIR exists

This commit is contained in:
michaellee8 2020-11-16 06:41:13 +00:00
parent f8044dbe23
commit 74a45912c4
2 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,10 @@
VERSION="$1"
UNSUPPORTED_MSG="$2"
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPTS_DIR="$CURRENT_DIR/../scripts"
HELPERS_DIR="$SCRIPTS_DIR/helpers"
source "$SCRIPTS_DIR/tmux_cmd_path.sh"

View file

@ -1,3 +1,6 @@
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPTS_DIR="$CURRENT_DIR/../../scripts"
HELPERS_DIR="$SCRIPTS_DIR/helpers"
source "$SCRIPTS_DIR/tmux_cmd_path.sh"
_has_emacs_mode_keys() {