Skip to content

Fix hyperlinks rendering in less

Kerri Miller requested to merge github/fork/LitoMore/fix-hyperlinks-in-less into trunk

Created by: LitoMore

Description

We should overwrite user's configuration of less.

How Has This Been Tested?

Actual behavior

The two commands below outputs a incorrect string.

LESS=FRX FORCE_HYPERLINKS=1 glab mr list
LESS=-R FORCE=HYPERLINKS=1 glab mr list

Expected behavior

GLab should overwrite user's configurations of less. We should always use LESS=FrX to run the less

Screenshots

Actual behavior

CleanShot 2022-01-08 at 16 20 55@2x

Expected behavior

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Merge request reports