From 83760292cba015d2d483e1d3644af22dfc5ea468 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Wed, 29 Apr 2026 23:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20open-cnb-remote-vscode.sh?= =?UTF-8?q?=20=E5=92=8C=20open-vscode-remote.sh=20=E4=B8=AD=E7=9A=84=20fin?= =?UTF-8?q?d=20=E5=91=BD=E4=BB=A4=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E7=9A=84=20-mindepth=201=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/open-cnb-remote-vscode.sh | 2 +- sh/open-vscode-remote.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/open-cnb-remote-vscode.sh b/sh/open-cnb-remote-vscode.sh index e48ef42..df6adbe 100755 --- a/sh/open-cnb-remote-vscode.sh +++ b/sh/open-cnb-remote-vscode.sh @@ -29,7 +29,7 @@ if [[ -z "$CNB_HOST" ]]; then exit 1 fi -CMD="ssh '$CNB_HOST' 'find /workspace/projects /workspace/docker -maxdepth 1 -mindepth 1 -type d 2>/dev/null' | $FZF_BIN --prompt='CNB Remote > ' | xargs -I{} open 'vscode://vscode-remote/ssh-remote+${CNB_HOST}{}'" +CMD="ssh '$CNB_HOST' 'find /workspace/projects /workspace/docker -maxdepth 1 -type d 2>/dev/null' | $FZF_BIN --prompt='CNB Remote > ' | xargs -I{} open 'vscode://vscode-remote/ssh-remote+${CNB_HOST}{}'" osascript <