summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2025-01-10 13:17:15 +0000
committerdakkar <dakkar@thenautilus.net>2025-01-10 13:19:58 +0000
commitba4afb2e57f1c42c5e0b57232a6a1a4605e2b85b (patch)
treed6c4b047e49a2bf7519611491c09b726b36d2bba
parentshow command duration on prompt (diff)
downloaddotfiles-ba4afb2e57f1c42c5e0b57232a6a1a4605e2b85b.tar.gz
dotfiles-ba4afb2e57f1c42c5e0b57232a6a1a4605e2b85b.tar.bz2
dotfiles-ba4afb2e57f1c42c5e0b57232a6a1a4605e2b85b.zip
better histcontrol
-rw-r--r--.bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index ee507e8..459d9e8 100644
--- a/.bashrc
+++ b/.bashrc
@@ -8,6 +8,7 @@ alias clr="echo -ne '\033c'"
alias mv="mv -i"
alias cp="cp -i"
export history_control=ignoreboth
+export HISTCONTROL="$history_control"
export command_oriented_history
export HISTIGNORE='&:[bf]g:exit:ls'