btdt (Been there, done that) for fish
Inspired by https://ane.iki.fi/2022/06/21/beenthere-donethat.html
Original script for bash/zsh is here: https://git.sr.ht/~ane/btdt/tree
Installation
fisher:
Withfisher install Dimentium/btdt.fish
Manual
Copy files from /functions
dir to ~/.config/fish/functions
Usage
bt
prompts for a command in your history and asks to save it with another name
dt
then recalls a command from this named history