From c10c97814e58fb150c788a209084c353577371cd Mon Sep 17 00:00:00 2001 From: abearixong Date: Mon, 27 Apr 2026 17:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20FZF=5FBIN=20=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=B8=BA=E7=9B=B8=E5=AF=B9=E8=B7=AF=E5=BE=84?= 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..59f1d40 100755 --- a/sh/open-cnb-remote-vscode.sh +++ b/sh/open-cnb-remote-vscode.sh @@ -15,7 +15,7 @@ # @raycast.authorURL https://raycast.com/abearxiong CONFIG_FILE="$HOME/.config/my-raycast/cnb-host" -FZF_BIN="/usr/local/bin/fzf" +FZF_BIN="fzf" if [[ ! -f "$CONFIG_FILE" ]]; then osascript -e 'display alert "CNB Host 未配置" message "请先运行 Set CNB Host 脚本设置远程地址"' diff --git a/sh/open-vscode-remote.sh b/sh/open-vscode-remote.sh index 6c29a49..51ab433 100755 --- a/sh/open-vscode-remote.sh +++ b/sh/open-vscode-remote.sh @@ -14,7 +14,7 @@ # @raycast.author abearxiong # @raycast.authorURL https://raycast.com/abearxiong -FZF_BIN="/usr/local/bin/fzf" +FZF_BIN="fzf" CMD="ssh diana 'find /root/workspace/projects /root/workspace/docker -maxdepth 1 -mindepth 1 -type d 2>/dev/null' | $FZF_BIN --prompt='VSCode Remote > ' | xargs -I{} open 'vscode://vscode-remote/ssh-remote+diana{}'"