.bashrc - history filtering and aggregation