add scripts dir
This commit is contained in:
parent
7643cba0d1
commit
86834a0fef
21
install.sh
21
install.sh
@ -1,9 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
[ ! -d "$HOME/.vim/" ] && mkdir "$HOME/.vim"
|
# 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/"
|
||||||
|
|
||||||
cp bash/bashrc ~/.bashrc
|
|
||||||
cp bash/bash_profile ~/.bash_profile
|
|
||||||
cp tmux/tmux.conf ~/.tmux.conf
|
|
||||||
cp git/gitconfig ~/.gitconfig
|
|
||||||
cp vim/vimrc ~/.vim/vimrc
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user