summaryrefslogtreecommitdiff
path: root/dot_local/share/sh/jump
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-19 18:43:41 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-19 18:43:41 +0100
commit7de3287d7f566fa2323ae01ac5d4792295c40c6e (patch)
tree4596d9172ac5b542c0c8363f972d0971ade771e7 /dot_local/share/sh/jump
parentzsh: spcify histsize/savehist (diff)
zsh: change implementation of tt
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.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions