redirect users to the gh environment command

This commit is contained in:
Bartek Pacia 2024-02-27 10:41:03 +01:00
parent 5d72e17246
commit 32eeb63a85
No known key found for this signature in database

View file

@ -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: