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.

13 lines
384 B

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