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

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