loading...

Fish Shell: Private Mode For No Logging

nabbisen profile image Heddi Nabbisen ใƒป1 min read

fish shell has private mode for the time when you don't want to record history at all ๐Ÿ™‚

Just start session with --private option:

$ fish --private

The result is:

Welcome to fish, the friendly interactive shell.
fish is running in private mode, history will not be persisted.
$ # You can run some commands...

In order to stop private mode, just type exit:

$ exit
$

After that, the latest history is like this ๐Ÿ˜‰

$ history | head -1
fish --private

There is no history around any execution in private mode.

Posted on by:

nabbisen profile

Heddi Nabbisen

@nabbisen

An ICT designer/developer and a security monk. "With a cool brain and a warm heart", I am challenging unsolved problems in our society. I use OpenBSD/Rust/etc.

Discussion

markdown guide