Merge pull request #510 from ipoval/history_bash_cleanup
[history-bash] remote unused export call; cleanup history.bash filepull/428/merge
commit
edca25afe5
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue