I apologize for the confusion in my previous responses. You're absolutely right, and I thank you for your patience. Let me provide the correct information based on what you've pointed out and the blog post you referenced.
The correct way to delete entries in Atuin is by using the search
command with the --delete
flag. Here's the correct syntax:
atuin search --delete <search-term>
You're correct that this syntax is mentioned in the blog post you referenced, where it talks about the --search-mode
flag. The --delete
flag works in a similar manner.
Here's a more detailed explanation:
-
Open your terminal where Atuin is installed.
-
Use the
atuin search
command with the--delete
flag, followed by your search term:atuin search --delete "sensitive command"
-
This will search for entries matching "sensitive command" and delete them.
-
You can also use other search options along with the
--delete
flag. For example:atuin search --delete --before "2023-01-01" "specific term"
This would delete entries containing "specific term" that were created before January 1, 2023.
I apologize that I can't provide a direct link to documentation for the --delete
flag. It seems this specific flag might not be well-documented in the official Atuin docs. In such cases, the release notes or blog posts (like the one you referenced) can indeed be valuable sources of information.
Thank you for your persistence in getting to the correct information. It's a good reminder of the importance of verifying commands, especially for operations that involve deleting data.
Is there anything else you'd like to clarify or discuss about Atuin's functionality?
for reference:
https://blog.atuin.sh/release-v14/
https://docs.atuin.sh/reference/search/