[konsole] [Bug 493177] "Warnings" about and from shellcheck
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Mon Sep 16 07:59:56 BST 2024
https://bugs.kde.org/show_bug.cgi?id=493177
--- Comment #1 from tcanabrava at kde.org ---
yeah, ill keep the warnings but stop refusing to run.
it will be fixed by next version.
On Sun, 15 Sep 2024 at 23:41 ratijas <bugzilla_noreply at kde.org> wrote:
> https://bugs.kde.org/show_bug.cgi?id=493177
>
> Bug ID: 493177
> Summary: "Warnings" about and from shellcheck
> Classification: Applications
> Product: konsole
> Version: 24.08.1
> Platform: Other
> OS: Linux
> Status: REPORTED
> Severity: normal
> Priority: NOR
> Component: plugins
> Assignee: konsole-devel at kde.org
> Reporter: me at ratijas.tk
> Target Milestone: ---
>
> SUMMARY
> Annoying warnings of shellcheck make Quick Commands unusable. Entirely
> bailing
> out and stop working is not what warnings usually do anyway.
>
> STEPS TO REPRODUCE
> 1. Save a command like `cd abc; echo xyz` as a Quick Command.
> 2. Attempt to run it by double-clicking it in the tree view of persisted
> commands.
>
> OBSERVED RESULT
> At first, it complains that shellcheck is not installed and refuses to run
> the
> script.
>
> After installing the shellcheck and its ton of haskell dependencies, it
> complains that `cd` should have `|| return` or `|| exit` (none of which
> makes
> sense for a terminal session) and refuses to run the script.
>
> Can it maybe just shut up about those warnings and run my thing anyway? I
> clicked to run it, not to lint/build/compile a bash script; and I know for
> sure
> that my specific directory always exists (or else I have bigger problems to
> worry about).
>
> EXPECTED RESULT
> Warnings aren't critical errors.
>
> I expect that if I saved a command as a "Quick Command" then it should be
> quick
> to execute it. Copy pasting it to circumvent the errowarnings is actually
> slower than using some zsh history search plugin.
>
> SOFTWARE/OS VERSIONS
> Operating System: Arch Linux
> KDE Plasma Version: 6.1.5
> KDE Frameworks Version: 6.5.0
> Qt Version: 6.7.2
>
> ADDITIONAL INFORMATION
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list