Preserve current path when updating dotfile