fix bashrc retrieve tool