fixed quoting in setup

This commit is contained in:
Vasili Svirydau
2021-03-23 16:28:51 -07:00
parent 4744842ce6
commit cc283d92bd

View File

@@ -39,10 +39,11 @@ find . -maxdepth 1 -type f -printf "%f\0" | while IFS= read -r -d $'\0' P; do
chmod -R o-rwx,g-rwx "$target"
done
for f in $DOTFILES/setup.d/*.sh; do source "$f"; done
# shellcheck source=/dev/null
for f in "$DOTFILES/setup.d/"*.sh; do source "$f"; done
unset f;
(
echo "for f in \"$DOTFILES/bash.d/*.sh\"; do source \"\$f\"; done"
echo "for f in $DOTFILES/bash.d/*.sh; do source \"\$f\"; done"
echo "unset f"
) >> ~/.bashrc