<p>I have installed <a href="https://github.com/sbstp/kubie" rel="nofollow noreferrer">kubie</a> and have been using it to successfully manage my multi-cluster configs.</p>
<p>However, recently I noticed that my default <code>KUBECONFIG</code> and <code>KUBIE_KUBECONFIG</code> paths have changed. Now when I try to download a new autopilot cluster config, it disappears.</p>
<pre><code>KUBECONFIG=/var/folders/rb/2t5drg9n0f3g_p3y7rnknf_w0000gn/T/kubie-configpAMbHS.yaml
KUBIE_KUBECONFIG=/var/folders/rb/2t5drg9n0f3g_p3y7rnknf_w0000gn/T/kubie-configpAMbHS.yaml
</code></pre>
<p>I would like to change them back to: <code>$HOME/.kube/config</code>.</p>
<p>How can I do this?</p>
<p><strong>NOTE</strong>: there are no settings in <code>kubie.yaml</code> to do this.</p>

tdensmore
<p>I had the same problem. I followed the instructions in the README.md - section Settings - <a href="https://github.com/sbstp/kubie/blob/master/README.md#settings" rel="nofollow noreferrer">https://github.com/sbstp/kubie/blob/master/README.md#settings</a> and now <code>echo $KUBECONFIG</code> shows the right paths.</p>
<pre><code># yaml
# Force kubie to use a particular shell, if unset detect shell currently in use.
# Possible values: bash, dash, fish, xonsh, zsh
# Default: unset
shell: bash

# Configure where to look for kubernetes config files.
configs:

    # Include these globs.
    # Default: values listed below.
    include:
        - ~/.kube/config
        - ~/.kube/*.yml
        - ~/.kube/*.yaml
        - ~/.kube/configs/*.yml
        - ~/.kube/configs/*.yaml
        - ~/.kube/kubie/*.yml
        - ~/.kube/kubie/*.yaml

    # Exclude these globs.
    # Default: values listed below.
    # Note: kubie's own config file is always excluded.
    exclude:
        - ~/.kube/kubie.yaml

# Prompt settings.
prompt:
    # Disable kubie's custom prompt inside of a kubie shell. This is useful
    # when you already have a prompt displaying kubernetes information.
    # Default: false
    disable: true

    # When using recursive contexts, show depth when larger than 1.
    # Default: true
    show_depth: true

    # When using zsh, show context and namespace on the right-hand side using RPS1.
    # Default: false
    zsh_use_rps1: false

    # When using fish, show context and namespace on the right-hand side.
    # Default: false
    fish_use_rprompt: false

    # When using xonsh, show context and namespace on the right-hand side.
    # Default: false
    xonsh_use_right_prompt: false

# Behavior
behavior:
    # Make sure the namespace exists with `kubectl get namespaces` when switching
    # namespaces. If you do not have the right to list namespaces, disable this.
    # Default: true
    validate_namespaces: true

    # Enable or disable the printing of the 'CONTEXT =&gt; ...' headers when running
    # `kubie exec`.
    # Valid values:
    #   auto:   Prints context headers only if stdout is a TTY. Piping/redirecting
    #           kubie output will auto-disable context headers.
    #   always: Always prints context headers, even if stdout is not a TTY.
    #   never:  Never prints context headers.
    # Default: auto
    print_context_in_exec: auto

</code></pre>
