Comments (5)
What is the output of chezmoi doctor
?
from chezmoi.
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.
This means that $CHEZMOI_SUBSHELL
is already set. Did you launch VSCode from inside a chezmoi subshell?
from chezmoi.
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.
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)
- Chezmoi diff is different from chezmoi apply diff HOT 3
- Chezmoi "add" adds/deletes subdirectories corresponding to submodules HOT 2
- Allow .tmpl suffix for chezmoidata HOT 7
- chezmoi add: errors when directory referenced in .chezmoiexternal HOT 2
- Allow to use the built-in encryption method as a secret store HOT 3
- Different dotfiles on different machines, updated on the target side HOT 5
- Add a config option to make --apply=false the default for `chezmoi update` HOT 2
- Unable to fetch multiple external sources into same directory. HOT 3
- Chezmoi diff sets .Target wrong if the target dir does not exist HOT 2
- Prevent chezmoi external deleting something. HOT 2
- chezmoi doctor falsely errors when using rage HOT 2
- Explore apple/pkl support HOT 3
- Ignored files populated by chezmoiexternal are not ignored HOT 4
- chezmoi does not recognize `msys2` or `cygwin` $HOME HOT 4
- Improve documentation about app binary download HOT 4
- Can't add directory in Termux when progress is enabled HOT 1
- the --output $filename doesn't actually write to file HOT 2
- "Template" version of Chezmoi config file which gets synced HOT 4
- vim autocommand for automatically applying changes does not cover "chezmoi edit" HOT 2
- Better android detection for install script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezmoi.