Code editor
Kate
Platform
Linux (Kubuntu 26.04)
Version
5.6.0
What steps will reproduce the bug?
#!/bin/bash
libFolder="/usr/local/lib"
# shellcheck source=/usr/local/lib/example.sh
source "$libFolder/example.sh" || exit 1
How often does it reproduce? Is there a required condition?
It happens every time.
What is the expected behavior?
No error messages.
Command completion working (in the test script) for symbols that are defined in "example.sh".
What do you see instead?
[10:00:29  Servidor LSP Registro] bash@
[Warn] 08:00:29.871 WARNING ⛔️ file:///run/user/1000/1/t2.sh line 5: non-constant source not supported
Additional information
First of all, thanks for your work.
If source "$libFolder/example.sh" is used instead of source "$libFolder/example.sh" || exit 1, no problem is seen (!).
Code editor
Kate
Platform
Linux (Kubuntu 26.04)
Version
5.6.0
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
It happens every time.
What is the expected behavior?
No error messages.
Command completion working (in the test script) for symbols that are defined in "example.sh".
What do you see instead?
Additional information
First of all, thanks for your work.
If
source "$libFolder/example.sh"is used instead ofsource "$libFolder/example.sh" || exit 1, no problem is seen (!).