logo FEDIDEVS

PyCon US 2025

Really enjoying @amethyst's excellent talk!

I would probably counsel against some of these patterns in code review, but it's still super useful to understand how they work and, even if in rare cases, where they might be appropriate!

youtube.com/watch?v=zFzEIIl3dE

4 1 0

Plopped a meta little thing into my config tree which was recommended at the dotfiles BoF ✨

(the idea as described was obviously shell-agnostic, in my case today it was a nice excuse to remember exactly how compdef + its helpers work…)

# Edit-then-source for zsh rc files, because forgetting to source stinks!
function modify() {
target=~/.zsh/$1
vim $target && source $target
}
compdef "_files -W ~/.zsh/" modify

1 0 1