```exclude``` seems to be ignored in linking
See original GitHub issueHello everyone, I have a zsh config folder in my .dotfiles, which looks like this:
zsh/alias.zsh
zsh/bindings.zsh
zsh/custom_completions/_docker-compose
zsh/custom_completions/_gh
zsh/env.zsh
zsh/functions.zsh
zsh/install_zsh.sh
zsh/options.zsh
zsh/plugins.txt
zsh/plugins.zsh
zsh/zshenv
zsh/zshrc
I also have my install.conf.yaml to try things out, which looks as follows:
- link:
~/.zshenv:
path: zsh/zshenv
~/.config/zsh/:
glob: true
path: zsh/*
exclude:
- zsh/zshenv
- zsh/zshrc
However, by the look of things my exlude is completely ignored:
Link exists ~/.zshenv -> /Users/USER/.dotfiles/zsh/zshenv
Globs from 'zsh/*': ['zsh/options.zsh', 'zsh/plugins.txt', 'zsh/alias.zsh', 'zsh/zshrc', 'zsh/zshenv', 'zsh/bindings.zsh', 'zsh/install_zsh.sh', 'zsh/functions.zsh', 'zsh/custom_completions', 'zsh/plugins.zsh', 'zsh/env.zsh']
Link exists ~/.config/zsh/options.zsh -> /Users/USER/.dotfiles/zsh/options.zsh
Link exists ~/.config/zsh/plugins.txt -> /Users/USER/.dotfiles/zsh/plugins.txt
Link exists ~/.config/zsh/alias.zsh -> /Users/USER/.dotfiles/zsh/alias.zsh
Creating link ~/.config/zsh/zshrc -> /Users/USER/.dotfiles/zsh/zshrc
Creating link ~/.config/zsh/zshenv -> /Users/USER/.dotfiles/zsh/zshenv
Link exists ~/.config/zsh/bindings.zsh -> /Users/USER/.dotfiles/zsh/bindings.zsh
Link exists ~/.config/zsh/install_zsh.sh -> /Users/USER/.dotfiles/zsh/install_zsh.sh
Link exists ~/.config/zsh/functions.zsh -> /Users/USER/.dotfiles/zsh/functions.zsh
Link exists ~/.config/zsh/custom_completions -> /Users/USER/.dotfiles/zsh/custom_completions
Link exists ~/.config/zsh/plugins.zsh -> /Users/USER/.dotfiles/zsh/plugins.zsh
Link exists ~/.config/zsh/env.zsh -> /Users/USER/.dotfiles/zsh/env.zsh
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?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
git ignore vs. exclude vs. assume-unchanged - Stack Overflow
This seems similar to exclude , in that these files are neither "indexed" nor "tracked". However, the last version of the file to...
Read more >What's the Difference Between Excluded URLs and Ignored ...
Excluded URLs allows you to specify a list of URLs you would not like to be optimized. You can either exclude a specific...
Read more >gitignore Documentation - Git
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below...
Read more >.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Git ignore patterns are used to exclude certain files in your working directory from your Git history. They can be local, global, or...
Read more >Ignoring files - GitHub Docs
Configuring ignored files for all repositories on your computer · Open TerminalTerminalGit Bash. · Configure Git to use the exclude file ~/.gitignore_global for ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi! What version of dotbot are you using? Can you run again with
--verbose
and provide the resulting output?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.