summaryrefslogtreecommitdiff
path: root/dot_config/zsh/functions/tt (unfollow)
AgeCommit message (Collapse)AuthorLines
8 dayszsh: use combined emacs vim modelineHEADmainChloé Vulquin-2/+1
apparently you can just do this
2026-01-26zsh/tt: put the -f backChloé Vulquin-1/+1
:(
2026-01-23zsh: add emacs modelineChloé Vulquin-0/+1
Yeah so emacs isn't thaat good at detecting shell scripts either.
2026-01-19zsh: change implementation of ttChloé Vulquin-0/+15
In zsh, an EXIT trap defined in a function runs on that function's execution end. Unfortunately, that's not what I want! Instead, there's the zsh hook zshexit, but that takes a function. This changes tt to add the generated directories to a deduplicated array, which is cleaned up on exit, as long as the function has been loaded.