From ddcc6ccd551fc1ea150f8c35718c46ee6277b01e Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Fri, 29 Aug 2025 14:00:13 +0200 Subject: [PATCH] histroy configuration --- .bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 2bc967e..a988dd1 100644 --- a/.bashrc +++ b/.bashrc @@ -1,8 +1,11 @@ #!/bin/bash export LIBVIRT_DEFAULT_URI="qemu:///system" +export EDITOR="vim" export HISTSIZE=-1 export HISTFILESIZE=-1 -export EDITOR="vim" +export HISTTIMEFORMAT="%y-%m/%d %T " +export HISTCONTROL=ignoreboth +export HISTIGNORE="ls *:cd *:pwd:history" # used by systemd user unit file ssh-agent in ~/.config/systemd/user/ssh-agent.service #Also add "AddKeysToAgent yes" to ~/.ssh/config