Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
346 B

  1. # Get directory variables from script.
  2. . ../dirs.sh
  3. # List of dotfiles I want to link to system.
  4. dotfiles=(bashrc gitconfig inputrc vimrc Xresources zshrc)
  5. # cd $dot_dir
  6. for dotfile in $dotfiles; do
  7. # Remove system dotfile.
  8. rm ~/."$dotfile"
  9. # Link dotfile in repository to system dotfile.
  10. ln -s "$dot_dir"/"$dotfile" ~/."$dotfile"
  11. done