From bf4d054fddfb4cccc42b24d81c15a29b0b97b3fd Mon Sep 17 00:00:00 2001 From: Narsty Date: Tue, 11 Jul 2023 20:47:34 -0500 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6a5fb2..84edd38 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,8 @@ If you're a visual learner like me, check out this detailed tutorial by [wrencha

The 'ignorespace' Option

Coding
'echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash'
-

This code enables the 'ignorespace' option for the command history, preventing commands with a leading space from being stored in the shell history. Special thanks to [FalsePhilosopher](https://github.com/FalsePhilosopher) for helping create this string!

+

This code enables the 'ignorespace' option for the command history, preventing commands with a leading space from being stored in the shell history. Special thanks to FalsePhilosopher + for helping create this string!

Removing Specific Commands from History

Coding