Giter Club home page Giter Club logo

Comments (5)

twpayne avatar twpayne commented on August 16, 2024

What is the output of chezmoi doctor?

from chezmoi.

willdhorn avatar willdhorn commented on August 16, 2024

So it works when run unset CHEZMOI_SUBSHELL, and it works normally again for that session, but when I open up a brand new terminal in vscode echo $CHEZMOI_SUBSHELL is 1.

edit: it is not set when open a new terminal in iTerm

Output of chezmoi doctor:

Does not change when CHEZMOI_SUBSHELL is set or not

$ chezmoi doctor
RESULT    CHECK                       MESSAGE
ok        version                     v2.42.2, commit ea1e143fe416097792706a708144ffda0d85b268, built at 2023-12-02T01:29:57Z, built by Homebrew
ok        latest-version              v2.42.2
ok        os-arch                     darwin/arm64
ok        uname                       Darwin My-MacBook-Pro.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Oct  4 21:26:55 PDT 2023; root:xnu-8796.141.3.701.17~4/RELEASE_ARM64_T6020 arm64
ok        go-version                  go1.21.4 (gc)
ok        executable                  /opt/homebrew/bin/chezmoi
ok        upgrade-method              brew-upgrade
ok        config-file                 no config file found
warning   source-dir                  ~/.local/share/chezmoi is a git working tree (dirty)
ok        suspicious-entries          no suspicious entries
warning   working-tree                ~/.local/share/chezmoi is a git working tree (dirty)
ok        dest-dir                    ~ is a directory
ok        umask                       022
ok        cd-command                  found /bin/zsh
ok        cd-args                     /bin/zsh
info      diff-command                not set
ok        edit-command                found /usr/bin/vi
ok        edit-args                   /usr/bin/vi
ok        git-command                 found /opt/homebrew/bin/git, version 2.43.0
ok        merge-command               found /usr/bin/vimdiff
ok        shell-command               found /bin/zsh
ok        shell-args                  /bin/zsh
info      age-command                 age not found in $PATH
info      gpg-command                 gpg not found in $PATH
info      pinentry-command            not set
info      1password-command           op not found in $PATH
ok        bitwarden-command           found /opt/homebrew/bin/bw, version 2023.10.0
info      bitwarden-secrets-command   bws not found in $PATH
info      dashlane-command            dcli not found in $PATH
info      doppler-command             doppler not found in $PATH
info      gopass-command              gopass not found in $PATH
info      keepassxc-command           keepassxc-cli not found in $PATH
info      keepassxc-db                not set
info      keeper-command              keeper not found in $PATH
info      lastpass-command            lpass not found in $PATH
info      pass-command                pass not found in $PATH
info      passhole-command            ph not found in $PATH
info      rbw-command                 rbw not found in $PATH
info      vault-command               vault not found in $PATH
info      vlt-command                 vlt not found in $PATH
info      secret-command              not set

from chezmoi.

twpayne avatar twpayne commented on August 16, 2024

This means that $CHEZMOI_SUBSHELL is already set. Did you launch VSCode from inside a chezmoi subshell?

from chezmoi.

willdhorn avatar willdhorn commented on August 16, 2024

Yep that must've been it. I haven't edited my dotfiles in a couple week, but I guess I haven't quit vscode since then. Thanks! (I'll go set my chezmoi editor to vscode now lol)

from chezmoi.

twpayne avatar twpayne commented on August 16, 2024

Thanks for the investigation. On reflection, I don't think the "already in a chezmoi subshell" error is needed. I'll remove it.

from chezmoi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.