4 ms·
HISTFILE=~/bash_history/$(date +%Y-%m) with h() { grep -a $@ ~/bash_history/* } Work for me... I don't lose bash history. https://github.com/kaihendry/dotfile
by hendry 10y ago
HISTFILE=~/bash_history/$(date +%Y-%m)
with
h() { grep -a $@ ~/bash_history/* }
Work for me... I don't lose bash history.
https://github.com/kaihendry/dotfiles/blob/master/.bashrc#L34-L47 https://github.com/kaihendry/dotfiles/blob/master/.bashrc#L3...