This flatpak leaks its value of LD_LIBRARY_PATH (somewhere in /var/lib/flatpak/app/dev.zed.Zed on my system) into the application and, importantly, therefore into terminal instances within the application.
This can cause weird and confusing changed behaviour between developing within the zed terminal versus any other terminal emulator because different libraries will be loaded in unexpected ways. It is worth noting that the flatpak of vscodium does not leak LD_LIBRARY_PATH
Comparing env | grep -e 'zed' to env | grep -e 'codium' from their respective terminals reveals leaked environment from the flatpaks. Zed actually appears to do better for the most part - the only problematic one I can see leaked is LD_LIBRARY_PATH -- this flatpak otherwise seems to have done a good job of namespacing its environment variables to not interact with user scripts/bashrc/etc.
This flatpak leaks its value of
LD_LIBRARY_PATH(somewhere in/var/lib/flatpak/app/dev.zed.Zedon my system) into the application and, importantly, therefore into terminal instances within the application.This can cause weird and confusing changed behaviour between developing within the zed terminal versus any other terminal emulator because different libraries will be loaded in unexpected ways. It is worth noting that the flatpak of vscodium does not leak
LD_LIBRARY_PATHComparing
env | grep -e 'zed'toenv | grep -e 'codium'from their respective terminals reveals leaked environment from the flatpaks. Zed actually appears to do better for the most part - the only problematic one I can see leaked isLD_LIBRARY_PATH-- this flatpak otherwise seems to have done a good job of namespacing its environment variables to not interact with user scripts/bashrc/etc.