../🜁↝🜃
source

atuin history deletions


atuin is great at remembering things, but sometimes you want it to forget.

delete by exit code 127 is basically always typos for me

atuin search --exit 127 "" --delete

delete by search (exact match substring)

# list
atuin search --search-mode fulltext corn

# delete
atuin search --search-mode fulltext corn --delete

delete an individual command invocation

in terminal, ctrl-r to bring up atuin search - hit ctrl-o to use inspector on a specific command, and then ctrl-d to delete it

delete keyvalue stores by substring in the key

# list:
atuin kv list -n dirs | grep blag

# delete:
atuin kv list -n dirs | grep blag  | xargs -n1 atuin kv delete -n dirs