又用 vscode copilot 重写 startb

至少这次可读性还不错。
This commit is contained in:
2026-03-28 04:23:22 +08:00
parent e8e33898be
commit 10d03bc051
3 changed files with 92 additions and 33 deletions

View File

@@ -15,4 +15,4 @@ for item in $(ls $desktop); do
done
fsarg=$(echo -en "$options" | fuzzel --dmenu --prompt="Open with VSCode: Desktop/")
[ -z "$fsarg" ] || startb code "$desktop/$fsarg"
[ -z "$fsarg" ] || exec startb code "$desktop/$fsarg"