index : dotfiles.git

ascending towards madness

author holly sparkles <sparkles@holly.sh> 2024-04-28 19:21:23.0 +00:00:00
committer holly sparkles <sparkles@holly.sh> 2024-04-28 19:21:23.0 +00:00:00
commit
5baa3f4647c1b556ecc3cceeae38b6e8258d2910 [patch]
tree
1e4d686a97f86a62685137ece755ef22b194bc62
parent
3574d15bca688b38f511adc8746cfc481a36d954
download
5baa3f4647c1b556ecc3cceeae38b6e8258d2910.tar.gz

escape vars in sync script



Diff

 sync.zsh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/sync.zsh b/sync.zsh
index 6c4acab..1e5b1b5 100755
--- a/sync.zsh
+++ b/sync.zsh
@@ -11,15 +11,15 @@ sync() {
  mkdir -p "${DOTFILES_DIR}/.scripts"

  # configs
  cp -v $HOME/.zshrc $DOTFILES_DIR/.zshrc
  cp -v $HOME/.config/gtk-3.0/gtk.css $DOTFILES_DIR/.config/gtk-3.0/gtk.css
  cp -v $HOME/.config/helix/config.toml $DOTFILES_DIR/.config/helix/config.toml
  cp -v $HOME/.config/kitty/kitty.conf $DOTFILES_DIR/.config/kitty/kitty.conf
  cp -vr $HOME/.config/zellij/ $DOTFILES_DIR/.config/
  cp -v "${HOME}/.zshrc" "${DOTFILES_DIR}/.zshrc"
  cp -v "${HOME}/.config/gtk-3.0/gtk.css" "${DOTFILES_DIR}/.config/gtk-3.0/gtk.css"
  cp -v "${HOME}/.config/helix/config.toml" "${DOTFILES_DIR}/.config/helix/config.toml"
  cp -v "${HOME}/.config/kitty/kitty.conf" "${DOTFILES_DIR}/.config/kitty/kitty.conf"
  cp -vr "${HOME}/.config/zellij" "${DOTFILES_DIR}/.config/"

  # scripts
  cp -v $SCRIPTS/calendar.sh $DOTFILES_DIR/.scripts/calendar.sh
  cp -v $SCRIPTS/zellij-launcher.zsh $DOTFILES_DIR/.scripts/zellij-launcher.zsh
  cp -v "${HOME}/.scripts/calendar.sh" "${DOTFILES_DIR}/.scripts/calendar.sh"
  cp -v "${HOME}/.scripts/zellij-launcher.zsh" "${DOTFILES_DIR}/.scripts/zellij-launcher.zsh"

  echo "done."
}