added cdwhich to move to the containing folder of a result of a which command