From 85b083a4b21afb4563a83905448176ce9b853541 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 31 Aug 2022 15:32:03 +0100 Subject: [PATCH] Don't save shell history --- roles/home-cli/files/shrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index e116553..aa32c53 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -77,6 +77,9 @@ umask 0022 # Other exports. export PS1="${PS1:-\$ }" +export HISTFILE="" +export HISTFILESIZE=0 +export HISTSIZE=0 export TIME_STYLE=long-iso # Used by GNU 'ls'. if [ "$(uname -s)" = Darwin ]