|
|
@ -12,14 +12,16 @@ export GOPATH=$HOME/opt/go
|
|
|
|
|
|
|
|
|
|
|
|
# don't put duplicate lines in the history. See bash(1) for more options
|
|
|
|
# don't put duplicate lines in the history. See bash(1) for more options
|
|
|
|
# ... or force ignoredups and ignorespace
|
|
|
|
# ... or force ignoredups and ignorespace
|
|
|
|
HISTCONTROL=ignoredups:ignorespace
|
|
|
|
export HISTCONTROL=ignoredups:erasedups:ignorespace
|
|
|
|
|
|
|
|
|
|
|
|
# append to the history file, don't overwrite it
|
|
|
|
# append to the history file, don't overwrite it
|
|
|
|
shopt -s histappend
|
|
|
|
shopt -s histappend
|
|
|
|
|
|
|
|
|
|
|
|
# Use empty string for unlimited history
|
|
|
|
# Use empty string for unlimited history
|
|
|
|
HISTSIZE=
|
|
|
|
export HISTSIZE=
|
|
|
|
HISTFILESIZE=
|
|
|
|
export HISTFILESIZE=
|
|
|
|
|
|
|
|
export HISTTIMEFORMAT='%y-%m-%d %T λ '
|
|
|
|
|
|
|
|
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
|
|
|
|
|
|
|
|
|
|
|
|
# check the window size after each command and, if necessary,
|
|
|
|
# check the window size after each command and, if necessary,
|
|
|
|
# update the values of LINES and COLUMNS.
|
|
|
|
# update the values of LINES and COLUMNS.
|
|
|
|