Wesley Schwengle IncludeIf: A digital space written in pencil Articles Series Answerrit /dev/null About

Yet Another CLI framework

YA::CLI is a Perl CLI framework that eliminates boilerplate by auto-discovering subcommands, handling POD help pages, and using Moo roles — so you just write the logic.

Living on the edge: truncating the path on your PS1

How to build a zsh prompt that dynamically truncates long paths based on terminal width. Uses a custom precmd hook and Zig-Zag logic to keep PS1 clean.

Git rebase vs merge - there can be only one.

An analysis of Git rebase and merge as complementary tools, covering interactive rebasing, autosquashing, and how to maintain clean history during development and integration.

Question: How can you configure grub to use a specific kernel?

Configure GRUB to boot specific kernels on Debian using GRUB_DEFAULT, menu IDs, or saved defaults. Includes submenu handling and troubleshooting.

Question: How can I prevent multiple logins via LightDM

Prevent multiple simultaneous user logins in LightDM by disabling user switching in both the display manager and xscreensaver lock screen.

Question: How to source your .profile with LightDM on Debian?

Source .profile and .xprofile in LightDM on Debian by creating a custom session wrapper. Includes dpkg-divert approach and Ansible playbook.

zsh: drop sed for regexp-replace and use zstyle to avoid hardcoding things in a script

Use zsh's built-in regexp-replace instead of sed for string substitution, and zstyle to avoid hardcoding values in your scripts and functions.

git status can now compare branches

Git now lets git status compare your current branch with both upstream and push branches using status.comparebranches, making divergence instantly visible.

zsh: Dynamically ignore files for autocomplete

How to dynamically ignore files for autocomplete in zsh

HOW-TO: Add a disk to an LVM group

HOW-TO add a disk to an LVM group