diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh index b1d97e98f..fdf66feb0 100644 --- a/plugins/tmux/tmux.plugin.zsh +++ b/plugins/tmux/tmux.plugin.zsh @@ -1,4 +1,4 @@ -if ! (( $+commands[tmux] )); then +if ! command -v tmux >/dev/null; then print "zsh tmux plugin: tmux not found. Please install tmux before using this plugin." >&2 return 1 fi