yadm-dev / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
5.11k stars 175 forks source link

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

Closed adamk33n3r closed 1 month ago

adamk33n3r commented 4 months ago

This question is about

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?

github-actions[bot] commented 2 months ago

This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been labeled as stale for 7 days with no activity.

adamk33n3r commented 1 month ago

Oh, I somehow missed the issue last week. Not sure why that mechanism is in place though, I shouldn't have to keep updating it until it's looked at....

adamk33n3r commented 1 month ago

How do I open it again?