ash

u/reggie@lemmy.fmhy.ml
4 posts · 65 comments

Recent posts

Recent comments

on Chimera Linux · c/linux · 12 pts · 3y

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.

on Chimera Linux · c/linux · 3 pts · 3y

Chimera Linux actually uses apk or Alpine Package Keeper as its package manager, they acknowledge this but despite that market themselves as if they did something revolutionary that has never been done before

on question about app images · c/linux · 5 pts · 3y

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.

on *Permanently Deleted* · c/firefox · 4 pts · 3y

No need to give permissions, you can place the files directly into flatpak's directory. I don't know the exact path because I use librewolf but it is something like:

~/.var/app/io.gitlab.librewolf-community/.librewolf

Just look for folders with firefox/mozzila in its name.

on Base Community Distros · c/linux · 0 pts · 3y

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.

No need to ask for permission to link for stuff like this, I made a post on public platform and anyone can share it as they see fit. Also glad I could help.

vim.g.slime_default_config = {
    socket_name = 'default',
    target_pane = '{last}'
}

vim.g.<variable> is the same as g:<variable> in VimL. Assigning a dictionary is very straightforward as lua tables map to VimL dictionaries, with the exception of empty dicts where you have to use vim.empty_dict().

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.