Skip to content

bug: curl install added Fish script to bash profile #394

@yanziz-nvidia

Description

@yanziz-nvidia

Agent Diagnostic

n/a

Description

After running

curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh

It prints for me to run source /home/username/.local/bin/env.fish or log out and log back in.

This is wrong as I am in Bash not Fish. The file added below won't run in Bash (as expected).

# Add OpenShell to PATH if not already present
if not contains "$HOME/.local/bin" $PATH
    set -gx PATH "$HOME/.local/bin" $PATH
end

I updated it below manually instead, in case anyone find it helpful

# Add OpenShell to PATH if not already present
if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]]; then
  export PATH="$HOME/.local/bin:$PATH"
fi

Reproduction Steps

see above

Environment

DGX Spark

Logs

Agent-First Checklist

  • I pointed my agent at the repo and had it investigate this issue
  • I loaded relevant skills (e.g., debug-openshell-cluster, debug-inference, openshell-cli)
  • My agent could not resolve this — the diagnostic above explains why

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-agent-triageOpened without agent diagnostics — redirect to agent-first workflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions