Comment on Microsoft’s controversial Windows Recall feature is coming back in October
qjkxbmwvz@startrek.website 2 months agoLinux is just as bad though — .zsh_history
records every command you run!
(/s, obviously…)
Comment on Microsoft’s controversial Windows Recall feature is coming back in October
qjkxbmwvz@startrek.website 2 months agoLinux is just as bad though — .zsh_history
records every command you run!
(/s, obviously…)
utopiah@lemmy.world 2 months ago
Actually no… well for zsh I don’t know but for bash at least if you start the command with a space it won’t be added to history. So not every command, you still get to (conveniently IMHO) decide that too!
qjkxbmwvz@startrek.website 2 months ago
Right, you can control that behavior in bash with the
HISTCONTROL
variable, and in zsh withsetopt HIST_IGNORE_SPACE
:)PlexSheep@infosec.pub 2 months ago
Iirc you can also just disable it with
unset HISTFILE
. This will reset when you open a new session unless you put it in the.zshrc
or something.Andromxda@lemmy.dbzer0.com 2 months ago
That’s so cool, how have I never discovered that after so many years of using Linux?..