diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-18 13:44:56 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-18 13:44:56 +0100 |
commit | dd308b2f8fdd6cfb2aec4778c347a7d156a0d754 (patch) | |
tree | d3bdcba1cc9cc3418f34c2ec7e03e6997c318656 /roles/shell/bash/templates/bashrc.j2 | |
parent | a6a90daca57ac247f937bdee513c4f14f38876f4 (diff) | |
download | Ansible-dd308b2f8fdd6cfb2aec4778c347a7d156a0d754.tar.gz Ansible-dd308b2f8fdd6cfb2aec4778c347a7d156a0d754.tar.zst Ansible-dd308b2f8fdd6cfb2aec4778c347a7d156a0d754.zip |
Add bash history file timestamp
Diffstat (limited to 'roles/shell/bash/templates/bashrc.j2')
-rw-r--r-- | roles/shell/bash/templates/bashrc.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/shell/bash/templates/bashrc.j2 b/roles/shell/bash/templates/bashrc.j2 index b717f0e..91311e5 100644 --- a/roles/shell/bash/templates/bashrc.j2 +++ b/roles/shell/bash/templates/bashrc.j2 | |||
@@ -13,6 +13,8 @@ fi | |||
13 | 13 | ||
14 | export GPG_TTY=$(tty) | 14 | export GPG_TTY=$(tty) |
15 | export HISTFILE="$XDG_STATE_HOME/bash/history" | 15 | export HISTFILE="$XDG_STATE_HOME/bash/history" |
16 | export HISTTIMEFORMAT='%F %T ' | ||
17 | export HISTCONTROL="ignorespace:ignoredups" | ||
16 | 18 | ||
17 | alias vi=vim | 19 | alias vi=vim |
18 | alias ls='ls --color=auto -F -T 0' | 20 | alias ls='ls --color=auto -F -T 0' |