修复 open-cnb-remote-vscode.sh 和 open-vscode-remote.sh 中的 find 命令,移除多余的 -mindepth 1 参数

This commit is contained in:
2026-04-29 23:37:17 +08:00
parent f6943b7f9a
commit 83760292cb
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
FZF_BIN="/usr/local/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{}'"
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{}'"
osascript <<OSASCRIPT
tell application "iTerm"