GH_CONFIG_DIR: the directory where gh will store configuration files. If not specified,
the default value will be one of the following paths (in order of precedence):
"$XDG_CONFIG_HOME/gh" (if $XDG_CONFIG_HOME is set),
"$AppData/GitHub CLI" (on Windows if $AppData is set), or
"$HOME/.config/gh".
as shown in the gh environments command currently only the last search place of $HOME/.config/gh is shown
it should search all the possible places for importing the token
This issue only impacts import as the plugin uses env vars otherwise.
op CLI version
2.22
Goal or desired behavior
GH_CONFIG_DIR: the directory where gh will store configuration files. If not specified, the default value will be one of the following paths (in order of precedence):
as shown in the gh environments command currently only the last search place of $HOME/.config/gh is shown
it should search all the possible places for importing the token
This issue only impacts import as the plugin uses env vars otherwise.
Current behavior
only $HOME/.config/gh is searched
Relevant log output
No response