removed unused code
bash history optimalizations