File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
scripts/handle_tmux_automatic_start Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
5959main () {
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 "
You can’t perform that action at this time.
0 commit comments