From f494fd07b8db8934fd6a8c9b3e12476bd73136b4 Mon Sep 17 00:00:00 2001 From: xyz Date: Tue, 8 Nov 2022 17:26:05 -0800 Subject: .profile, bash history ignore command start with space --- home/xyz/.profile | 1 + 1 file changed, 1 insertion(+) (limited to 'home/xyz/.profile') diff --git a/home/xyz/.profile b/home/xyz/.profile index 118f63db..f6dd5e8c 100644 --- a/home/xyz/.profile +++ b/home/xyz/.profile @@ -18,6 +18,7 @@ PATH="$(find "$HOME/.local/bin" -type d -exec printf '%s:' '{}' \+)$PATH" export PATH export HISTSIZE=15000 export HISTFILESIZE=15000 +export HISTCONTROL=ignorespace export EDITOR=nvim export BROWSER=firefox -- cgit v1.2.3-70-g09d2