diff --git a/files/scripts/setupchezmoiskel.sh b/files/scripts/setupchezmoiskel.sh new file mode 100644 index 0000000..4f59da1 --- /dev/null +++ b/files/scripts/setupchezmoiskel.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +git clone https://git.hydrosaber.com/eriq12/dotfiles /etc/skel/.local/share/chezmoi + +cp /etc/skel/.local/share/chezmoi/dot_bashrc /etc/skel/.bashrc +cp /etc/skel/.local/share/chezmoi/dot_zshrc /etc/skel/.zshrc +cp -r /etc/skel/.local/share/chezmoi/dot_config /etc/skel/.config \ No newline at end of file diff --git a/recipes/components/chezmoi-module.yml b/recipes/components/chezmoi-module.yml index f5a8d3e..818b374 100644 --- a/recipes/components/chezmoi-module.yml +++ b/recipes/components/chezmoi-module.yml @@ -1,3 +1,7 @@ modules: - type: chezmoi - repository: "https://git.hydrosaber.com/eriq12/dotfiles" \ No newline at end of file + repository: "https://git.hydrosaber.com/eriq12/dotfiles" + + - type: script + scripts: + - setupchezmoiskel.sh \ No newline at end of file