Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon May
config
Commits
5680e0ee
Commit
5680e0ee
authored
Jan 14, 2019
by
Simon May
Browse files
Add bash history settings
parent
89f028e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
.bashrc
View file @
5680e0ee
...
...
@@ -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
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment