error message on no path found and expand ~ on cd write