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 a9ce81ec..4440757e 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 f33d2158..bc5628ea 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 ecaa37e4..6c55a03f 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 7a6ef0a0..82689557 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 238952d4..a0ae383d 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 de6eb35f..2571a2bd 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 5601a866..55e12904 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"