From c2e1b3d4a3da294f6e3138cb528100dcd80e5cb5 Mon Sep 17 00:00:00 2001 From: samir-alsayad <219525129+samir-alsayad@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:30:36 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20fix:=20remove=20unreachable=20an?= =?UTF-8?q?d=20malformed=20code=20block=20in=20projection-shell.zsh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed a code block that was syntactically incorrect (malformed case pattern) and logically unreachable as it followed the default `*)` case in the `px-router` function. This improves code health and prevents potential shell parsing issues. --- modules/parallax/lib/core/projection-shell.zsh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/modules/parallax/lib/core/projection-shell.zsh b/modules/parallax/lib/core/projection-shell.zsh index 93f50a2..318de44 100755 --- a/modules/parallax/lib/core/projection-shell.zsh +++ b/modules/parallax/lib/core/projection-shell.zsh @@ -380,19 +380,6 @@ ACTION:*|PLACE:*|FILE:*|PROMPT:*|AGENT:*|CUSTOM:*|HISTORY:*) return 1 fi ;; - [['$current_mode" == "normal']] - # If signal is a Parallax ID (15+ chars), treat as Console selection - if [[ "$signal" =~ '^[0-9]{15,}$' ]]; then - # Rerun/Project from history - local cmd=$("$HOME/bin/px-logger" get-payload "$signal") - if [[ -n "$cmd" ]]; then - "$HOME/bin/dispatch" "$TARGET_PANE" "$cmd" - fi - return 2 - else - return 1 - fi - ;; esac }