Skip to content

Commit b84edbc

Browse files
committed
Rename variable and function names
1 parent cf5715d commit b84edbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/handle_tmux_automatic_start/osx_enable.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ template() {
3535
echo "$content"
3636
}
3737

38-
get_iterm_or_teminal_option_value() {
38+
get_strategy() {
3939
local options="$1"
4040
if [[ "$options" =~ "iterm" ]]; then
4141
echo "iterm"
@@ -58,9 +58,9 @@ get_fullscreen_option_value() {
5858

5959
main() {
6060
local options="$(get_tmux_option "$auto_start_config_option" "$auto_start_config_default")"
61-
local iterm_or_terminal_value="$(get_iterm_or_teminal_option_value "$options")"
61+
local strategy="$(get_strategy "$options")"
6262
local fullscreen_option_value="$(get_fullscreen_option_value "$options")"
63-
local tmux_start_script_path="${CURRENT_DIR}/osx_${iterm_or_terminal_value}_start_tmux.sh"
63+
local tmux_start_script_path="${CURRENT_DIR}/osx_${strategy}_start_tmux.sh"
6464

6565
local launchd_plist_file_content="$(template "$tmux_start_script_path" "$fullscreen_option_value")"
6666
echo "$launchd_plist_file_content" > "$osx_auto_start_file_path"

0 commit comments

Comments
 (0)