Comment Comment by RMPR If you really want to be lazy, use a terminal file manager (I prefer lf[0]) it helps avoiding the cd && ls dance. That way, your history only contains commands you actually would want to rerun.0: https://github.com/gokcehan/lf parent RMPR 2 months ago
0: https://github.com/gokcehan/lf