summaryrefslogtreecommitdiff
path: root/dot_config/zsh/functions/tt (follow)
AgeCommit message (Collapse)AuthorLines
23 hourszsh: add emacs modelineChloƩ Vulquin-0/+1
Yeah so emacs isn't thaat good at detecting shell scripts either.
4 dayszsh: 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.