mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2024-12-22 15:48:50 +00:00
switch from which to command -v for tmux invoke
command -v is posix and on all systems, which isn't Of course, this is probably a quibble as anything that has systemd on it probably has which.
This commit is contained in:
parent
912149820b
commit
280f9bdffb
@ -11,7 +11,7 @@ template() {
|
|||||||
local options="$@"
|
local options="$@"
|
||||||
local content=""
|
local content=""
|
||||||
local resurrect_save_script_path="$(get_tmux_option "$resurrect_save_path_option" "$(realpath ${CURRENT_DIR}/../../../tmux-resurrect/scripts/save.sh)")"
|
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
|
read -r -d '' content <<-EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
|
Loading…
Reference in New Issue
Block a user