Skip to content

MacOS shell commands execute error with 1 line of output #691

@J-Siu

Description

@J-Siu

Setup

OS: MacOS 15.4.1
Shell: zsh (via Homebrew)

❯ echo $SHELL
/opt/homebrew/bin/zsh

Shell-GPT: 1.4.5

❯ sgpt --version
ShellGPT 1.4.5

Install via pip3 with user and system override. Local llm using LM Studio.

Issue

When I test sgpt -s "find all markdown files in current folder" and choose e:

Image

  • The part highlighted in green is the first line of the correct answer
  • It stop at that line
  • The shell command is correct if ran manually. Following is partial screenshot:

Image

PS: Is there ways to print out some debug messages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions