Comment on Microsoft’s controversial Windows Recall feature is coming back in October
Andromxda@lemmy.dbzer0.com 3 weeks ago
Comment on Microsoft’s controversial Windows Recall feature is coming back in October
Andromxda@lemmy.dbzer0.com 3 weeks ago
qjkxbmwvz@startrek.website 3 weeks ago
Linux is just as bad though —
.zsh_history
records every command you run!(/s, obviously…)
utopiah@lemmy.world 3 weeks 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 3 weeks ago
Right, you can control that behavior in bash with the
HISTCONTROL
variable, and in zsh withsetopt HIST_IGNORE_SPACE
:)PlexSheep@infosec.pub 3 weeks 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 3 weeks ago
That’s so cool, how have I never discovered that after so many years of using Linux?..