summaryrefslogtreecommitdiff
path: root/roles/shell/bash/templates/bashrc.j2
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-18 13:44:56 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-18 13:44:56 +0100
commitdd308b2f8fdd6cfb2aec4778c347a7d156a0d754 (patch)
treed3bdcba1cc9cc3418f34c2ec7e03e6997c318656 /roles/shell/bash/templates/bashrc.j2
parenta6a90daca57ac247f937bdee513c4f14f38876f4 (diff)
downloadAnsible-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.j22
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
14export GPG_TTY=$(tty) 14export GPG_TTY=$(tty)
15export HISTFILE="$XDG_STATE_HOME/bash/history" 15export HISTFILE="$XDG_STATE_HOME/bash/history"
16export HISTTIMEFORMAT='%F %T '
17export HISTCONTROL="ignorespace:ignoredups"
16 18
17alias vi=vim 19alias vi=vim
18alias ls='ls --color=auto -F -T 0' 20alias ls='ls --color=auto -F -T 0'