Commit 5680e0ee authored by Simon May's avatar Simon May
Browse files

Add bash history settings

parent 89f028e9
......@@ -27,6 +27,16 @@ case $- in
esac
# Don’t put duplicate lines or lines starting with space in the history.
# See bash(1) for more options.
HISTCONTROL=ignoreboth
# append to the history file, don’t overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
#HISTSIZE=4000
#HISTFILESIZE=8000
HISTTIMEFORMAT='%F %T '
# set PS1
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment