• 3 Posts
  • 32 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle
  • ash@lemmy.fmhy.mltoLinux@lemmy.mlChimera Linux
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    1 year ago

    Just use Alpine. Chimera uses Alpine’s package manager anyway. The only reason you havent heard about Alpine in this context is because they do not claim they are doing anything revolutionary, they just strive to make a great distro.






  • Think of AppImage like a standalone executable on windows, you download it, it just works and thats good. But it doesnt get automatic updates and to get a new feature you need to download it again. Flatpaks and Snaps don’t have this issue and are more like traditional package managers.



  • OpenSUSE

    inb4 but thats a corporate distro, it is just sponsored by SUSE but is community maintained

    I agree that there are not many distros that are both user friendly and not forks of something else, but I don’t see it as an issue, imo there is nothing wrong with forks.



  • You can wrap the call in pcall, which is a lua builtin for catching errors, which would suppress the error and let you know if the command failed.

    You could for example do:

    local ok, res = pcall(vim.cmd.write)
    if not ok
    then
        vim.notify('write failed with: ' .. res)
    end
    

    There are both lua and vim functions for writing to files but I recommend to not use them in this scenario, they write to the file directly and dont trigger autocommands.

    I understand your frustration with no consitent error reporting and clear api, but I guess that’s the consequence of the entire history of vi and vim and trying to be backwards compatible.