I've seen that running a command with space before it doesn't log it in history(command at least) But that doesn't seem to be the Case for PopOS
It worked in Ubuntu but it wasn't working in PopOS. Is there any workaround or other trick I could try
$ls
$history
1 ls
2 history
$ pwd #there's a space preceding this command
$history
1 ls
2 history
3 pwd
4 history
Works in Ubuntu but doesn't work in POPOS