From 32eeb63a85c0faeaabbf2e94b73f4a2056cceb5d Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Tue, 27 Feb 2024 10:41:03 +0100 Subject: [PATCH] redirect users to the `gh environment` command --- internal/config/config.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index ca7f65efb..25f3e01e9 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -515,6 +515,9 @@ func fallbackConfig() *ghConfig.Config { // last migration we decided to run is. Therefore, if we run a new migration, // this should be bumped. const defaultConfigStr = ` +# The default config file, auto-generated by gh. Run 'gh environment' to learn more about +# environment variables respected by gh and their precedence. + # The current version of the config schema version: 1 # What protocol to use when performing git operations. Supported values: ssh, https @@ -523,7 +526,7 @@ git_protocol: https editor: # When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled prompt: enabled -# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager. +# A pager program to send command output to, e.g. "less". If blank, will refer to environment. Set the value to "cat" to disable the pager. pager: # Aliases allow you to create nicknames for gh commands aliases: