diff options
author | Rémi Audebert | 2016-05-19 23:00:14 -0700 |
---|---|---|
committer | Rémi Audebert | 2016-05-19 23:00:14 -0700 |
commit | 02a6ee6e5336bfbee85f04e3e29851c631a4895f (patch) | |
tree | f0efb195b7fde661f3d98e2af163c41c2c3e7dd3 /bash-eternal-history.sh | |
download | aur-bash-eternal-history.tar.gz |
Initial import of bash-eternal-history
Diffstat (limited to 'bash-eternal-history.sh')
-rw-r--r-- | bash-eternal-history.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bash-eternal-history.sh b/bash-eternal-history.sh new file mode 100644 index 000000000000..177898d66a2e --- /dev/null +++ b/bash-eternal-history.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +export HISTTIMEFORMAT='%d/%m/%y %T ' +export HISTSIZE=-1 +export HISTFILESIZE=-1 +export HISTFILE=~/.bash_eternal_history +export PROMPT_COMMAND="history -a; $PROMPT_COMMAND" |