Merge pull request #103 from mattkatz/fix-tmux-systemd-path

switch from which to command -v for tmux invoke
pull/106/head
Bruno Sutic 2022-01-25 16:31:49 +01:00 committed by GitHub
commit fc2f31d795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ template() {
local options="$@"
local content=""
local resurrect_save_script_path="$(get_tmux_option "$resurrect_save_path_option" "$(realpath ${CURRENT_DIR}/../../../tmux-resurrect/scripts/save.sh)")"
local tmux_path="$(which tmux)"
local tmux_path="$(command -v tmux)"
read -r -d '' content <<-EOF
[Unit]