Merge pull request #1 from lemonase/stow

Stow
This commit is contained in:
James Dixon 2020-09-30 14:42:23 -04:00 committed by GitHub
commit f00cde50a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 5 additions and 18 deletions

View File

@ -1,18 +0,0 @@
#!/bin/bash
# make these homey paths
mkdir -pv "$HOME/.vim" "$HOME/.local/"{bin,lib} "$HOME/.config"
# find our dotfiles repo
REPOPATH=$(find "$HOME" -type d -iname 'dotfiles')
# copy our files
cp "$REPOPATH/bash/bashrc" "$HOME/.bashrc"
cp "$REPOPATH/bash/bash_profile" "$HOME/.bash_profile"
cp "$REPOPATH/tmux/tmux.conf" "$HOME/.tmux.conf"
cp "$REPOPATH/git/gitconfig" "$HOME/.gitconfig"
cp "$REPOPATH/vim/vimrc" "$HOME/.vim/vimrc"
# link scripts dir
ln -sv "$REPOPATH/scripts" "$HOME/.local/"

5
vim/.vim/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
autoload
plugged
.backup
.swap
.undo