bash completion: history clear & trim handle flags