This commit is contained in:
2026-04-29 23:37:18 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
# @raycast.authorURL https://raycast.com/abearxiong # @raycast.authorURL https://raycast.com/abearxiong
CONFIG_FILE="$HOME/.config/my-raycast/cnb-host" CONFIG_FILE="$HOME/.config/my-raycast/cnb-host"
FZF_BIN="/usr/local/bin/fzf" FZF_BIN="fzf"
if [[ ! -f "$CONFIG_FILE" ]]; then if [[ ! -f "$CONFIG_FILE" ]]; then
osascript -e 'display alert "CNB Host 未配置" message "请先运行 Set CNB Host 脚本设置远程地址"' osascript -e 'display alert "CNB Host 未配置" message "请先运行 Set CNB Host 脚本设置远程地址"'

View File

@@ -14,7 +14,7 @@
# @raycast.author abearxiong # @raycast.author abearxiong
# @raycast.authorURL https://raycast.com/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 -type d 2>/dev/null' | $FZF_BIN --prompt='VSCode Remote > ' | xargs -I{} open 'vscode://vscode-remote/ssh-remote+diana{}'" CMD="ssh diana 'find /root/workspace/projects /root/workspace/docker -maxdepth 1 -type d 2>/dev/null' | $FZF_BIN --prompt='VSCode Remote > ' | xargs -I{} open 'vscode://vscode-remote/ssh-remote+diana{}'"