File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
33### master
4+ - properly quote scripts
45
56### v3.0.0, 2015-02-20
67- rename the plugin from ` tmux-resurrect-auto ` to ` tmux-continuum `
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ source "$CURRENT_DIR/scripts/shared.sh"
99save_command_interpolation=" #($CURRENT_DIR /scripts/continuum_save.sh)"
1010
1111supported_tmux_version_ok () {
12- $CURRENT_DIR /scripts/check_tmux_version.sh " $SUPPORTED_VERSION "
12+ " $CURRENT_DIR /scripts/check_tmux_version.sh" " $SUPPORTED_VERSION "
1313}
1414
1515handle_tmux_automatic_start () {
16- $CURRENT_DIR /scripts/handle_tmux_automatic_start.sh
16+ " $CURRENT_DIR /scripts/handle_tmux_automatic_start.sh"
1717}
1818
1919another_tmux_server_running () {
@@ -49,7 +49,7 @@ just_started_tmux_server() {
4949}
5050
5151start_auto_restore_in_background () {
52- $CURRENT_DIR /scripts/continuum_restore.sh &
52+ " $CURRENT_DIR /scripts/continuum_restore.sh" &
5353}
5454
5555main () {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ source "$CURRENT_DIR/variables.sh"
77source " $CURRENT_DIR /shared.sh"
88
99supported_tmux_version_ok () {
10- $CURRENT_DIR /check_tmux_version.sh " $SUPPORTED_VERSION "
10+ " $CURRENT_DIR /check_tmux_version.sh" " $SUPPORTED_VERSION "
1111}
1212
1313get_interval () {
@@ -29,7 +29,7 @@ enough_time_since_last_run_passed() {
2929fetch_and_run_tmux_resurrect_save_script () {
3030 local resurrect_save_script_path=" $( get_tmux_option " $resurrect_save_path_option " " " ) "
3131 if [ -n " $resurrect_save_script_path " ]; then
32- $resurrect_save_script_path " quiet" > /dev/null 2>&1 &
32+ " $resurrect_save_script_path " " quiet" > /dev/null 2>&1 &
3333 set_last_save_timestamp
3434 fi
3535}
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ is_osx() {
1717main () {
1818 if is_tmux_automatic_start_enabled; then
1919 if is_osx; then
20- $CURRENT_DIR /handle_tmux_automatic_start/osx_enable.sh
20+ " $CURRENT_DIR /handle_tmux_automatic_start/osx_enable.sh"
2121 fi
2222 else
2323 if is_osx; then
24- $CURRENT_DIR /handle_tmux_automatic_start/osx_disable.sh
24+ " $CURRENT_DIR /handle_tmux_automatic_start/osx_disable.sh"
2525 fi
2626 fi
2727}
You can’t perform that action at this time.
0 commit comments