Merge branch 'main' of https://cnb.cool/abearxiong/raycast
This commit is contained in:
@@ -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 脚本设置远程地址"'
|
||||
|
||||
@@ -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 -type d 2>/dev/null' | $FZF_BIN --prompt='VSCode Remote > ' | xargs -I{} open 'vscode://vscode-remote/ssh-remote+diana{}'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user