The Philosophy behind Mend

#Mend started as a joke about the Arch community, but it turned into my daily driver.
It’s about bridging the gap between a broken terminal and the manual.
Automation that helps you learn rather than just hiding the problem.

https://github.com/Rakosn1cek/mend

#Coding #Linux #Zsh #ArchLinux #CLI #FOSS #OpenSource

Why not Aliases?
An alias can’t prompt for a dynamic IP, it can’t encrypt your API keys, and it definitely can’t manage 500+ snippets
with fuzzy search. XC isn't an alias replacement. It’s the upgrade for when your workflow outgrows a .zshrc file.

https://github.com/Rakosn1cek/xc-manager
AUR: xc-manager-git
ZSH Plugin: xc-manager

#XC #Zsh #CLI #Programming #Linux #OpenSource #DevOps #Automation #SysAdmin #Productivity #Coding #FOSS #Zshrc #WorkflowOptimization

Hardcoded commands are useless for real work. XC uses a logic-heavy template system so you can define variables once and have the tool prompt for inputs at execution.

It turns a static snippet into a dynamic workflow without writing a single new script. Define a blueprint like {{host}} or {{file}}, and #XC handles the rest. Efficient, secure, and built for the terminal.

#Zsh #Automation #DevOps #Linux #CLI #OpenSource #SysAdmin #Programming #Productivity #Scripting #FOSS #ArchLinux #Workflow

XC doesn't just run scripts, it hooks into the #Zsh Line Editor (ZLE).
By using custom widgets, it injects commands directly into your buffer.
It’s the difference between a clunky sub-shell and a tool that feels like a native extension of your fingers.
Stop using old school messy cheat-sheets.
#Linux #fzf #cli #commandline #SelfHosted #shell #Terminal
GitHub: https://github.com/Rakosn1cek/xc-manager
I got tired of the "RTFM" responses every time a simple environment break happened on Arch.
So I built #Mend. It’s a Zsh-native tool that catches common terminal errors
(PGP keys, locked DBs, missing .so libs) and many more. Fixes them in seconds. No LLM, just pure logic. #ArchLinux #Zsh #Linux #SelfHosted

I discovered that when you invoke a command between $(…) or `…` in a zsh alias, that command is run once when the shell start and will never be called anymore.

Thus, my "calendar.txt" alias is becomes wrong if the shell is older than today.

Is it a way to run that command when the alias is called instead of at shell launch?

My calendar.txt alias is described here:
https://ploum.net/2025-09-03-calendar-txt.html

EDIT: the alias should be between ' ' , not " ". Novice mistake here! Thanks @zigdon

#zsh #cli

How I fell in love with calendar.txt

How I fell in love with calendar.txt par Ploum - Lionel Dricot.

@madalex @js: My favourite file name for a file to delete is:

-rf <Ctrl-C>

Because it requires every level of #quoting:

* Application level quoting by prefixing the file name with ./ so that rm doesn't take -rf as option.
* Shell quoting by #escaping or quoting the blank.
* Input level quoting by pressing usually <Ctrl-V> (Emacsish: <Ctrl-Q>) before <Ctrl-C> to be able to enter a literal <Ctrl-C>.

(That's something you just don't unlearn once it's in your brain. 🤓 )

#CLI #Bash #Zsh #Shell

If you work across multiple stacks, VS Code gets noisy fast. I built a small set of shell scripts that keeps stack-based profiles at user level and opens any repo with the right one automatically —
nothing committed into your projects.

https://kernelofthought.xyz/2026/04/09/the-right-vs-code-extensions-for-every-repo/

#vscode #devtools #zsh #developerexperience

The Right VS Code Extensions for Every Repo, Automatically

A simple setup to keep VS Code profiles at user level, auto-selecting the right extensions per repo based on the tech stack — nothing committed into your projects.

Kernel Of Thought

How do y'all deal with storing binary data in memory using bash/zsh?  

 

#bash #zsh #askfedi

Zsh: select generated files with (om[1]) glob qualifiers - Adam Johnson
https://adamj.eu/tech/2026/01/27/zsh-om1-glob-qualifiers/

#zsh #shellscripting

Zsh: select generated files with (om[1]) glob qualifiers - Adam Johnson

I’ve recently been using memray, a memory profiler for Python, to optimize the startup memory usage (and time) for a client. It’s a fantastic tool, but its flexibility hampers getting instant feedback. It takes three commands to profile a program, generate a flame graph from the profile, and open the flame graph in the browser: