From da244e9a9d8731828299cc2f386b681ceeceb641 Mon Sep 17 00:00:00 2001 From: slange-dev Date: Fri, 10 Jan 2025 01:11:39 +0100 Subject: [PATCH] Fix missing shebang in some files --- CHANGELOG.md | 1 + scripts/helpers/plugin_functions.sh | 2 ++ scripts/helpers/shell_echo_functions.sh | 2 ++ scripts/helpers/tmux_echo_functions.sh | 2 ++ scripts/helpers/tmux_utils.sh | 2 ++ scripts/helpers/utility.sh | 2 ++ scripts/variables.sh | 2 ++ 7 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9ce81e..4440757 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ### master +- bug: add missing shebang in some files. ### v3.1.0, 2023-01-03 - upgrade to new version of `tmux-test` diff --git a/scripts/helpers/plugin_functions.sh b/scripts/helpers/plugin_functions.sh index f33d215..bc5628e 100644 --- a/scripts/helpers/plugin_functions.sh +++ b/scripts/helpers/plugin_functions.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + # using @tpm_plugins is now deprecated in favor of using @plugin syntax tpm_plugins_variable_name="@tpm_plugins" diff --git a/scripts/helpers/shell_echo_functions.sh b/scripts/helpers/shell_echo_functions.sh index ecaa37e..6c55a03 100644 --- a/scripts/helpers/shell_echo_functions.sh +++ b/scripts/helpers/shell_echo_functions.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + echo_ok() { echo "$*" } diff --git a/scripts/helpers/tmux_echo_functions.sh b/scripts/helpers/tmux_echo_functions.sh index 7a6ef0a..8268955 100644 --- a/scripts/helpers/tmux_echo_functions.sh +++ b/scripts/helpers/tmux_echo_functions.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + _has_emacs_mode_keys() { $(tmux show -gw mode-keys | grep -q emacs) } diff --git a/scripts/helpers/tmux_utils.sh b/scripts/helpers/tmux_utils.sh index 238952d..a0ae383 100644 --- a/scripts/helpers/tmux_utils.sh +++ b/scripts/helpers/tmux_utils.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + HELPERS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$HELPERS_DIR/plugin_functions.sh" diff --git a/scripts/helpers/utility.sh b/scripts/helpers/utility.sh index de6eb35..2571a2b 100644 --- a/scripts/helpers/utility.sh +++ b/scripts/helpers/utility.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + ensure_tpm_path_exists() { mkdir -p "$(tpm_path)" } diff --git a/scripts/variables.sh b/scripts/variables.sh index 5601a86..55e1290 100644 --- a/scripts/variables.sh +++ b/scripts/variables.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + install_key_option="@tpm-install" default_install_key="I"