dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

docs: make setup links compatible with Fish shell

Open harilvfs opened this issue 7 months ago • 1 comments

as you know, fish is not posix-compliant, so it doesn't support bash syntax like bash <(curl -L ...)

so i used bash -c to tell fish to run the command with bash. this way, it won't break the setup script.

the final command is:

for arch

bash -c "$(curl -fsSL https://raw.githubusercontent.com/mylinuxforwork/dotfiles/main/setup-arch.sh)"

for fedora

bash -c "$(curl -fsSL https://raw.githubusercontent.com/mylinuxforwork/dotfiles/main/setup-fedora.sh)"

yeah, this doesn't break anything. i tested the arch script, and it works fine.

harilvfs avatar May 29 '25 22:05 harilvfs

Great. I will test.

mylinuxforwork avatar May 30 '25 14:05 mylinuxforwork

@harilvfs I would provide the link in the format

bash -c "$(curl -s https://raw.githubusercontent.com/mylinuxforwork/dotfiles/main/setup-arch.sh)"

What do you think?

mylinuxforwork avatar Jun 03 '25 19:06 mylinuxforwork

yeah that will also work fine. i will update that & btw have you tested with that ?

harilvfs avatar Jun 03 '25 20:06 harilvfs

Yes. Trsts were successful.

mylinuxforwork avatar Jun 04 '25 04:06 mylinuxforwork

Ok you can merge this one (squash & merge). I will update this links on wiki pr as well later soon.

harilvfs avatar Jun 04 '25 04:06 harilvfs