https://bugs.kde.org/show_bug.cgi?id=428991

            Bug ID: 428991
           Summary: prefix.sh does not work on the Fish shell
           Product: extra-cmake-modules
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ecm-bugs-n...@kde.org
          Reporter: bribb...@disroot.org
  Target Milestone: ---

SUMMARY

> source ~/.local/kde/build/neochat/prefix.sh
~/.local/kde/build/neochat/prefix.sh (line 6): ${ is not a valid variable in
fish.
export
XDG_DATA_DIRS=/home/bart/.local/kde/usr/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}
                                                      ^
from sourcing file ~/.local/kde/build/neochat/prefix.sh
source: Error while reading file
'/home/bart/.local/kde/build/neochat/prefix.sh'


I tried to source the prefix.sh installed when using kdesrc-build, but it
failed on Fish. I can manually run set fish_user_paths <path to kde/usr/bin>
$fish_user_paths so I can at least run the binaries directly, but prefix.sh of
course does more than that.

STEPS TO REPRODUCE
1. Install the Fish shell
2. Change your shell by just running "fish"
3. Try to source the prefix.sh

OBSERVED RESULT
Sourcing fails with an error that ${ is not a valid variable

EXPECTED RESULT
Sourcing to "just work" ™


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Alpine Linux edge with the Fish shell
(available in About System)
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to