Merge pull request #510 from ipoval/history_bash_cleanup
[history-bash] remote unused export call; cleanup history.bash file
This commit is contained in:
16
lib/history.bash
Normal file → Executable file
16
lib/history.bash
Normal file → Executable 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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user