Merge pull request #510 from ipoval/history_bash_cleanup

[history-bash] remote unused export call; cleanup history.bash file
pull/428/merge
Nils Winkler 2015-06-18 08:17:39 +02:00
commit edca25afe5
1 changed files with 4 additions and 12 deletions

16
lib/history.bash 100644 → 100755
View File

@ -1,18 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# append to bash_history if Terminal.app quits # Bash History Handling
shopt -s histappend
# history handling
#
# Erase duplicates
# Bash History
export HISTCONTROL="ignoredups"
export HISTCONTROL=erasedups
# resize history size
export HISTSIZE=5000
shopt -s histappend # append to bash_history if Terminal.app quits
export HISTCONTROL=erasedups # erase duplicates; alternative option: export HISTCONTROL=ignoredups
export HISTSIZE=5000 # resize history size
export AUTOFEATURE=true autotest export AUTOFEATURE=true autotest
function rh { function rh {