@codevector/cli 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20199,10 +20199,11 @@ _codevector_on_chpwd
20199
20199
  `;
20200
20200
  var FISH_SNIPPET = `# codevector shell hook (fish) \u2014 auto-activates credentials on cd
20201
20201
  function _codevector_on_pwd --on-variable PWD
20202
- set -l out (command codevector env --shell fish 2>/dev/null)
20203
- if test -n "$out"
20204
- eval $out
20205
- end
20202
+ # Pipe straight to \`source\`. Capturing into a variable and re-running it
20203
+ # breaks here: fish command substitution splits on newlines and re-joins
20204
+ # with spaces, collapsing the multi-line export script into one broken
20205
+ # \`set\` command.
20206
+ command codevector env --shell fish 2>/dev/null | source
20206
20207
  end
20207
20208
  # Run once for the current directory at shell startup.
20208
20209
  _codevector_on_pwd
@@ -21158,7 +21159,7 @@ import { spawnSync } from "child_process";
21158
21159
  // package.json
21159
21160
  var package_default = {
21160
21161
  name: "@codevector/cli",
21161
- version: "0.8.0",
21162
+ version: "0.8.1",
21162
21163
  description: "CodeVector CLI \u2014 installs and configures first-party coding-tool integrations.",
21163
21164
  license: "UNLICENSED",
21164
21165
  bin: {