mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2024-11-24 20:48:46 +00:00
Properly quote scripts
This commit is contained in:
parent
886b373dcd
commit
bdc47273d3
@ -1,6 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
### master
|
||||
- properly quote scripts
|
||||
|
||||
### v3.0.0, 2015-02-20
|
||||
- rename the plugin from `tmux-resurrect-auto` to `tmux-continuum`
|
||||
|
@ -9,11 +9,11 @@ source "$CURRENT_DIR/scripts/shared.sh"
|
||||
save_command_interpolation="#($CURRENT_DIR/scripts/continuum_save.sh)"
|
||||
|
||||
supported_tmux_version_ok() {
|
||||
$CURRENT_DIR/scripts/check_tmux_version.sh "$SUPPORTED_VERSION"
|
||||
"$CURRENT_DIR/scripts/check_tmux_version.sh" "$SUPPORTED_VERSION"
|
||||
}
|
||||
|
||||
handle_tmux_automatic_start() {
|
||||
$CURRENT_DIR/scripts/handle_tmux_automatic_start.sh
|
||||
"$CURRENT_DIR/scripts/handle_tmux_automatic_start.sh"
|
||||
}
|
||||
|
||||
another_tmux_server_running() {
|
||||
@ -49,7 +49,7 @@ just_started_tmux_server() {
|
||||
}
|
||||
|
||||
start_auto_restore_in_background() {
|
||||
$CURRENT_DIR/scripts/continuum_restore.sh &
|
||||
"$CURRENT_DIR/scripts/continuum_restore.sh" &
|
||||
}
|
||||
|
||||
main() {
|
||||
|
@ -7,7 +7,7 @@ source "$CURRENT_DIR/variables.sh"
|
||||
source "$CURRENT_DIR/shared.sh"
|
||||
|
||||
supported_tmux_version_ok() {
|
||||
$CURRENT_DIR/check_tmux_version.sh "$SUPPORTED_VERSION"
|
||||
"$CURRENT_DIR/check_tmux_version.sh" "$SUPPORTED_VERSION"
|
||||
}
|
||||
|
||||
get_interval() {
|
||||
@ -29,7 +29,7 @@ enough_time_since_last_run_passed() {
|
||||
fetch_and_run_tmux_resurrect_save_script() {
|
||||
local resurrect_save_script_path="$(get_tmux_option "$resurrect_save_path_option" "")"
|
||||
if [ -n "$resurrect_save_script_path" ]; then
|
||||
$resurrect_save_script_path "quiet" >/dev/null 2>&1 &
|
||||
"$resurrect_save_script_path" "quiet" >/dev/null 2>&1 &
|
||||
set_last_save_timestamp
|
||||
fi
|
||||
}
|
||||
|
@ -17,11 +17,11 @@ is_osx() {
|
||||
main() {
|
||||
if is_tmux_automatic_start_enabled; then
|
||||
if is_osx; then
|
||||
$CURRENT_DIR/handle_tmux_automatic_start/osx_enable.sh
|
||||
"$CURRENT_DIR/handle_tmux_automatic_start/osx_enable.sh"
|
||||
fi
|
||||
else
|
||||
if is_osx; then
|
||||
$CURRENT_DIR/handle_tmux_automatic_start/osx_disable.sh
|
||||
"$CURRENT_DIR/handle_tmux_automatic_start/osx_disable.sh"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user