using symlink instead of hard copy
This commit is contained in:
parent
97631e0fe8
commit
de40f4f988
15
install.sh
15
install.sh
@ -1,8 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp ./.vimrc /home/$(whoami)/
|
||||
cp -r ./.vim/ /home/$(whoami)/
|
||||
cp -r ./.tmux.conf /home/$(whoami)/
|
||||
# cp ./.vimrc /home/$(whoami)/
|
||||
# cp -r ./.vim/ /home/$(whoami)/
|
||||
# cp -r ./.tmux.conf /home/$(whoami)/
|
||||
|
||||
echo "VIM Conf"
|
||||
ln -sf $(pwd)/.vimrc /home/$(whoami)/
|
||||
ln -sf $(pwd)/.vim/ /home/$(whoami)/
|
||||
|
||||
echo "TMUX Conf"
|
||||
ln -sf $(pwd)/.vimrc /home/$(whoami)/
|
||||
ln -sf $(pwd)/.tmux.conf /home/$(whoami)/
|
||||
|
||||
echo "TMUX Plugin"
|
||||
mkdir -p "/home/$(whoami)/.tmux/plugins"
|
||||
[ -d "/home/$(whoami)/.tmux/plugins/tpm" ] || git clone https://github.com/tmux-plugins/tpm /home/$(whoami)/.tmux/plugins/tpm
|
||||
|
Loading…
Reference in New Issue
Block a user