Fixes cd hook for bash