Skip to content

Commit fc2f31d

Browse files
authored
Merge pull request #103 from mattkatz/fix-tmux-systemd-path
switch from which to command -v for tmux invoke
2 parents 9121498 + 280f9bd commit fc2f31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/handle_tmux_automatic_start/systemd_enable.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ template() {
1111
local options="$@"
1212
local content=""
1313
local resurrect_save_script_path="$(get_tmux_option "$resurrect_save_path_option" "$(realpath ${CURRENT_DIR}/../../../tmux-resurrect/scripts/save.sh)")"
14-
local tmux_path="$(which tmux)"
14+
local tmux_path="$(command -v tmux)"
1515

1616
read -r -d '' content <<-EOF
1717
[Unit]

0 commit comments

Comments
 (0)