update history settings in commonshrc