diff --git a/evolinux-base/tasks/root.yml b/evolinux-base/tasks/root.yml index 8fb2d113..1ff3b609 100644 --- a/evolinux-base/tasks/root.yml +++ b/evolinux-base/tasks/root.yml @@ -14,9 +14,11 @@ create: yes state: present with_items: - - "export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoreboth" + - "export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoreboth,erasedups" - "export HISTSIZE=65535" - "export HISTTIMEFORMAT=\"%c : \"" + - "shopt -s histappend" + - "PROMPT_COMMAND=\"history -a;history -n;${PROMPT_COMMAND}\"" when: evolinux_root_bashrc ## .bash_history should be append-only