Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with bootstrap-in-dir and installing fisher #489

Open
1 of 8 tasks
adamk33n3r opened this issue Jun 26, 2024 · 0 comments
Open
1 of 8 tasks

Issue with bootstrap-in-dir and installing fisher #489

adamk33n3r opened this issue Jun 26, 2024 · 0 comments
Labels

Comments

@adamk33n3r
Copy link

This question is about

  • Installation
  • Initializing / Cloning
  • Alternate files
  • Jinja templates
  • Encryption
  • Bootstrap
  • Hooks
  • Other

Describe your question

Hello, first time setting up yadm and I'm trying to use the bootstrap-in-dir script. I'm running into a weird issue that when running

fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher" 

in my .config/yadm/bootstrap.d/fish it causes the main bootstrap files for some reason pass the remaining bootstrap scripts into the fisher install command I think? The output is the following:

Installing fisher
fisher install version 4.4.4
Fetching https://api.github.com/repos/jorgebucaran/fisher/tarball/HEAD
fish: No matches for wildcard '/home/adam/.config/yadm/bootstrap.d/submodules/*'. See `help expand`.
                        command cp -Rf /home/adam/.config/yadm/bootstrap.d/submodules/* /tmp/tmp.2sB7PiZAev
                                       ^
fish: No matches for wildcard '/home/adam/.config/yadm/bootstrap.d/tmux/*'. See `help expand`.
                        command cp -Rf /home/adam/.config/yadm/bootstrap.d/tmux/* /tmp/tmp.jPoFnoiclv
                                       ^
fish: No matches for wildcard '/home/adam/.config/yadm/bootstrap.d/vim/*'. See `help expand`.
                        command cp -Rf /home/adam/.config/yadm/bootstrap.d/vim/* /tmp/tmp.9RPwzFP4Md
                                       ^
Installing jorgebucaran/fisher
           /home/adam/.config/fish/functions/fisher.fish
           /home/adam/.config/fish/completions/fisher.fish
Installing /home/adam/.config/yadm/bootstrap.d/submodules
Installing /home/adam/.config/yadm/bootstrap.d/tmux
Installing /home/adam/.config/yadm/bootstrap.d/vim

and then the bootstrap ends. If I comment out the fish -c line, then the rest of the bootstrap runs fine. I'm guessing this is probably something to do with how the bootstrap script is reading the scripts (because it's not trying to install the fish boostrap script) and perhaps fisher is swallowing them up first? But I'm not well versed in shell scripting to know what's going on. Any advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant