From dbcf5a4bb6012569b636dc666345d3a5e0fbb4b9 Mon Sep 17 00:00:00 2001 From: Jerry Chae Date: Wed, 13 May 2026 17:29:04 +0900 Subject: [PATCH] =?UTF-8?q?tmux=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install-tmux.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-tmux.ps1 b/install-tmux.ps1 index 2aba93d..d93a134 100644 --- a/install-tmux.ps1 +++ b/install-tmux.ps1 @@ -52,7 +52,7 @@ Info "Installing tmux..." $tmuxCmd = Get-Command tmux -ErrorAction SilentlyContinue if ($tmuxCmd) { $currentVer = & tmux -V 2>$null - if ($LASTEXITPR -ne 0) { $currentVer = "unknown" } + if (-not $currentVer) { $currentVer = "unknown" } Info "tmux is already installed ($currentVer). Skipping installation." } else { if (-not (Get-Command winget -ErrorAction SilentlyContinue)) {