Fix bug of $COLUMNS problem by using login shell