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.

15 lines
442 B

  1. #!/bin/bash
  2. linux_config_dir=/home/kevin/linux-config
  3. dot_dir=$linux_config_dir/dotfiles
  4. # Get directory variables from script.
  5. # List of dotfiles I want to link to system.
  6. dotfiles=(bashrc inputrc imwheelrc vimrc Xmodmap Xresources zshrc)
  7. cd $dot_dir || exit
  8. for dotfile in "${dotfiles[@]}"; do
  9. # Remove system dotfile.
  10. rm ~/."$dotfile"
  11. # Link dotfile in repository to system dotfile.
  12. cp "$dot_dir"/"$dotfile" ~/."$dotfile"
  13. done