Skip to content

[Bug]: F looks for new suggestion after fixing the previous command #61

@swirle13

Description

@swirle13

What happened?

Given export _PR_MODE="noconfirm" is set in ~/.zshrc before eval "$(pay-respects zsh)", running a bad command, git sattus and fixing it via f causes it to fix and run the correct command, but afterwards, outputs the "looking for new suggestion..." message for the fixed command.

Image

A separate but related issue (which I can make a separate report for) will occur when running without export _PR_MODE="noconfirm" where the main thread panics due to InvalidCertificate(UnknownIssuer)

Image

I'm not sure why it needs a certificate. I'm also not sure why it doesn't throw this issue when setting to "noconfirm" mode. Is there an internet request to find more suggestions when using the standard mode? I've ran into certificate issues before due to my work VPN and I've passed the exported cert to VSCode and other tools that need it. If necessary, is there a path to do this for pay-respects?

The command and output

❯ git sattus
git: 'sattus' is not a git command. See 'git --help'.

The most similar command is
        status

~ 
❯ f
git status
fatal: not a git repository (or any of the parent directories): .git

Looking for new suggestion...

No suggestion found for command: git status

If you think there should be a suggestion, please open an issue or send a pull request!
https://github.com/iffse/pay-respects

Build information

pay-respects: v0.7.8

macOS 15.5

ZSH 5.9

No similar issue

  • I have searched the issue list and there is no similar issue found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions