mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2025-09-06 17:07:03 +00:00
Properly quote scripts
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user