dotties

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

sync-dotties (310B)


      1 #!/bin/sh
      2 
      3 _sync() {
      4 	cp $1 $2/ && echo $1 "->" $2 || echo $1 "failed"
      5 }
      6 
      7 [ "$1" = "" ] && exit
      8 
      9 
     10 cd $HOME
     11 _sync ".profile" "$1"
     12 _sync ".zshrc" "$1"
     13 _sync ".config/aliases" "$1/.config"
     14 _sync ".config/bspwm/bspwmrc" "$1"
     15 _sync ".config/keymaps/*" "$1"
     16 _sync ".config/nvim/init.vim" "$1"
     17 _sync ".config/" "$1"
     18