@mifix commented on GitHub (Feb 17, 2024):
Hey,
this could answer your question: https://github.com/atuinsh/atuin/commit/f55d5cf0bfa59af144788bec7c9d0a9ada71aad4
(zsh has an option HIST_IGNORE_SPACE too)
Thank you for your nix config! Helped me a lot.
Remove command lines from the history list when the first character on the line is a space, or when one of the expanded aliases contains a leading space. Only normal aliases (not global or suffix aliases) have this behaviour. Note that the command lingers in the internal history until the next command is entered before it vanishes, allowing you to briefly reuse or edit the line. If you want to make it vanish right away without entering another command, type a space and press return.
@ryan4yin commented on GitHub (Feb 17, 2024):
@mifix Thanks for the info, so it's already a feature request related to this: https://github.com/atuinsh/atuin/issues/889
I also read [the document of zsh's HIST_IGNORE_SPACE](https://zsh.sourceforge.io/Doc/Release/Options.html), and its implementation will be more in line with my intuition:
> Remove command lines from the history list when the first character on the line is a space, or when one of the expanded aliases contains a leading space. Only normal aliases (not global or suffix aliases) have this behaviour. **Note that the command lingers in the internal history until the next command is entered before it vanishes, allowing you to briefly reuse or edit the line**. If you want to make it vanish right away without entering another command, type a space and press return.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @ryan4yin on GitHub (Feb 17, 2024).
Cases:
ls.It's weird.
@mifix commented on GitHub (Feb 17, 2024):
Hey,
this could answer your question: https://github.com/atuinsh/atuin/commit/f55d5cf0bfa59af144788bec7c9d0a9ada71aad4
(zsh has an option HIST_IGNORE_SPACE too)
Thank you for your nix config! Helped me a lot.
@ryan4yin commented on GitHub (Feb 17, 2024):
@mifix Thanks for the info, so it's already a feature request related to this: https://github.com/atuinsh/atuin/issues/889
I also read the document of zsh's HIST_IGNORE_SPACE, and its implementation will be more in line with my intuition: