Skip to content

fix: install.sh#21

Merged
zenorocha merged 1 commit intomainfrom
fix-install-sh
Mar 11, 2026
Merged

fix: install.sh#21
zenorocha merged 1 commit intomainfrom
fix-install-sh

Conversation

@felipefreitag
Copy link
Contributor

No description provided.

@zenorocha zenorocha merged commit 23ef70e into main Mar 11, 2026
5 checks passed
@zenorocha zenorocha deleted the fix-install-sh branch March 11, 2026 13:44
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="install.sh">

<violation number="1" location="install.sh:257">
P2: `shell_bin_dir` escapes `$HOME`, which is required for quoted bash/zsh exports but breaks fish: `fish_add_path \$HOME/...` adds a literal `$HOME` path instead of the real home directory.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

config="${XDG_CONFIG_HOME:-$HOME/.config}/fish/conf.d/resend.fish"
mkdir -p "$(dirname "$config")"
shell_line="fish_add_path $(tildify "$bin_dir")"
shell_line="fish_add_path ${shell_bin_dir}"
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: shell_bin_dir escapes $HOME, which is required for quoted bash/zsh exports but breaks fish: fish_add_path \$HOME/... adds a literal $HOME path instead of the real home directory.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At install.sh, line 257:

<comment>`shell_bin_dir` escapes `$HOME`, which is required for quoted bash/zsh exports but breaks fish: `fish_add_path \$HOME/...` adds a literal `$HOME` path instead of the real home directory.</comment>

<file context>
@@ -242,12 +249,12 @@ case $shell_name in
     config="${XDG_CONFIG_HOME:-$HOME/.config}/fish/conf.d/resend.fish"
     mkdir -p "$(dirname "$config")"
-    shell_line="fish_add_path $(tildify "$bin_dir")"
+    shell_line="fish_add_path ${shell_bin_dir}"
     ;;
 esac
</file context>
Suggested change
shell_line="fish_add_path ${shell_bin_dir}"
shell_line="fish_add_path ${bin_dir}"
Fix with Cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants