diff --git a/code/settings.json b/code/settings.json index 0dbce14..326c228 100644 --- a/code/settings.json +++ b/code/settings.json @@ -270,7 +270,16 @@ "editor.defaultFormatter": "redhat.vscode-yaml" }, "typescript.experimental.useTsgo": false, - "claudeCode.preferredLocation": "panel" + "claudeCode.preferredLocation": "panel", + "json.schemaDownload.trustedDomains": { + "https://schemastore.azurewebsites.net/": true, + "https://raw.githubusercontent.com/": true, + "https://www.schemastore.org/": true, + "https://json.schemastore.org/": true, + "https://json-schema.org/": true, + "https://opencode.ai": true, + "https://models.dev": true + } // "workbench.statusBar.visible": false, // "workbench.editor.showTabs": "none", // "breadcrumbs.filePath": "off", diff --git a/nushell/init.nu b/nushell/init.nu index 738eeaa..1d03259 100644 --- a/nushell/init.nu +++ b/nushell/init.nu @@ -318,8 +318,8 @@ def ghprinfo [] { } def ghprexists [] { - let $result = (gh pr view | complete) - return ($result.exit_code == 0) + let $result = (gh pr view --json state --jq .state | complete) + return ($result.exit_code == 0 and ($result.stdout | str trim) == "OPEN") } def ghprcheck [