Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
c5b1b0ee
Commit
c5b1b0ee
authored
Nov 03, 2015
by
Fred Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
normal bash history
parent
831474c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
playbooks/roles/user/templates/default.bashrc.j2
+8
-6
No files found.
playbooks/roles/user/templates/default.bashrc.j2
View file @
c5b1b0ee
...
...
@@ -96,13 +96,15 @@ if [ "$BASH_VERSINFO" -ge 2 ]; then
shopt -s checkhash
shopt -s no_empty_cmd_completion
shopt -s execfail
export HISTCONTROL=ignorespace
unset HISTFILESIZE
unset HISTSIZE
export HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S - '
shopt -s histappend
# save multi-line commands as a single command with semi-colons
HISTFILESIZE=10000
HISTDIR="$HOME/.bash_histories/`uname -n`"
[[ ! -d $HISTDIR ]] && mkdir -p "$HISTDIR"
HISTFILE="$HISTDIR/`date +%Y_%m`"
# Suppress duplicates, bare "ls" and bg,fg and exit
HISTIGNORE="&:ls:[bf]g:exit"
shopt -s cmdhist
fi
...
...
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