[history-bash] remote unused export call; cleanup history.bash file

pull/510/head
Ivan Povalyukhin 2015-06-17 14:17:27 -07:00
parent 6df923971a
commit 119b8696ad
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
# append to bash_history if Terminal.app quits
shopt -s histappend
# history handling
#
# Erase duplicates
# Bash History
export HISTCONTROL="ignoredups"
export HISTCONTROL=erasedups
# resize history size
export HISTSIZE=5000
# Bash History Handling
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
function rh {