Fix where aliases would be displayed when ~/ specified.