Closed arkAD93 closed 3 years ago
Hi!
What version of dotbot are you using? Can you run again with --verbose
and provide the resulting output?
Having the same problem here. I'm using dotbot v1.18.0~2
@bitsandscraps could you give the git commit hash you're using (e.g. with a git submodule status dotbot
)? Exclude parameters were added pretty recently, in 22ed23c.
I tried the config from @arkAD93's post, and it works for me with the latest Dotbot.
Config:
- defaults:
link:
create: true
relink: true
- link:
~/.zshenv:
path: zsh/zshenv
~/.config/zsh/:
glob: true
path: zsh/*
exclude:
- zsh/zshenv
- zsh/zshrc
Output:
Globs from 'zsh/*': ['zsh/custom_completions', 'zsh/options.zsh', 'zsh/plugins.zsh', 'zsh/env.zsh', 'zsh/functions.zsh', 'zsh/install_zsh.sh', 'zsh/bindings.zsh', 'zsh/alias.zsh', 'zsh/plugins.txt']
Creating directory /Users/anish/.config/zsh
Creating link ~/.config/zsh/custom_completions -> /private/tmp/test/zsh/custom_completions
Creating link ~/.config/zsh/options.zsh -> /private/tmp/test/zsh/options.zsh
Creating link ~/.config/zsh/plugins.zsh -> /private/tmp/test/zsh/plugins.zsh
Creating link ~/.config/zsh/env.zsh -> /private/tmp/test/zsh/env.zsh
Creating link ~/.config/zsh/functions.zsh -> /private/tmp/test/zsh/functions.zsh
Creating link ~/.config/zsh/install_zsh.sh -> /private/tmp/test/zsh/install_zsh.sh
Creating link ~/.config/zsh/bindings.zsh -> /private/tmp/test/zsh/bindings.zsh
Creating link ~/.config/zsh/alias.zsh -> /private/tmp/test/zsh/alias.zsh
Creating link ~/.config/zsh/plugins.txt -> /private/tmp/test/zsh/plugins.txt
Creating link ~/.zshenv -> /private/tmp/test/zsh/zshenv
All links have been set up
==> All tasks executed successfully
That's strange, git submodule status dotbot
gave me:
5294594f5aa9c3affd0d656ba6843c1c0b0bce60 dotbot (v1.17.1-2-g5294594)
Which would mean I am not at the newest version - but I followed
cd ~/.dotfiles # replace with the path to your dotfiles
git init # initialize repository if needed
git submodule add https://github.com/anishathalye/dotbot
git config -f .gitmodules submodule.dotbot.ignore dirty # ignore dirty commits in the submodule
When did you set up Dotbot? That may have been the latest version when you set it up. You can upgrade it with git submodule update --remote dotbot
(remember to git commit
your changes afterwards, or the ./install
will revert it).
When did you set up Dotbot? That may have been the latest version when you set it up. You can upgrade it with
git submodule update --remote dotbot
(remember togit commit
your changes afterwards, or the./install
will revert it). Cannot say for sure, about 1-2h before opening the issue.
Looks like git submodule update --remote dotbot
did the trick.
I have no idea how I ended up with older version.
Thanks for helping out.
Hello everyone, I have a zsh config folder in my .dotfiles, which looks like this:
I also have my install.conf.yaml to try things out, which looks as follows:
However, by the look of things my exlude is completely ignored:
I tried all sorts of different approaches with exclude statement, however it keeps linking files, which I am trying to exclude.
Am I missing something here?