

what are you doing in my lemmy profile



You can subscribe to the GitHub discussion, it looks like there are some prototypes but not a definitive GUI: https://github.com/helix-editor/helix/discussions/11783

I use Helix btw
perhaps i too will post code on the internet
here is a shell script i wrote for automating filenames for markdown files (blog posts):
#!/bin/sh
set -e
datecmd="date +%Y-%m-%d"
if [ -z "$1" ]; then
printf "Post title: " >&2
read -r title
else
title="$1"
fi
file="$($datecmd)_$title.md"
if [ -f "$file" ]; then
printf "Error: post '$file' already exists.\n" >&2
exit 1
fi
${EDITOR:-nano} "$file"
im not sure why i made it since i could just look at what date it is and write it down manually in the file name, but i felt like doing that as a quick hack
not sure why the default behavior is this:
file\ name\ with\ a\ bunch\ of\ spaces
instead of this:
"file name with a bunch of spaces"
but you can just press " before pressing tab to auto-complete, and it will use the 2nd form

I live in Brazil too and bought a R$120 old HP computer running Windows XP on MercadoLivre. Works decently enough for a Minecraft server after an upgrade (4 to 8GB of RAM). Old computers are great for price and they’re good if you can upgrade them.
For general purposes, get something better than what I bought since it is not the fastest (even though it runs the Minecraft server software alright, it still lags). Maybe upgrading with an SSD would help performance.
really scary how it just hard-freezed or mercilessly thrashes when low on memory.
That’s what the swap partition is for?
Harder Hard Drive
what is that? i use linux btw
i thought most unix-like systems had it symlinked to a shell like dash. it’s what i have on my system (void linux), of course not as an interactive shell lol
i use for posix scripts and for bash scripts. works for posix scripts since even if it’s symlinked to bash, bash still supports posix features.
editor · neovim configured with fennel
plugin management · paq-nvim
better fennel support · tangerine.nvim
code highlighting · default vim regex, nvim-treesitter
lsp management · mason.nvim
…and even more open-source neovim plugins
shell · zshell
plugin management · antidote
plugins · belak/zsh-utils, olets/zsh-abbr, zsh-users/zsh-autosuggestions, etc.
build system · gnu make
os · voidlinux
not programming related, but i though i’d mention