Add install script
This commit is contained in:
parent
15cd72d637
commit
ef75d1cbbf
16
install.sh
Normal file
16
install.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
run_directory=$(dirname "$0")
|
||||||
|
|
||||||
|
echo "Copying rcs to home directory..."
|
||||||
|
cp $run_directory/bashrc /home/$(whoami)/.bashrc
|
||||||
|
cp $run_directory/vimrc /home/$(whoami)/.vimrc
|
||||||
|
cp $run_directory/tmux.conf /home/$(whoami)/.tmux.conf
|
||||||
|
|
||||||
|
echo "Copying rcs to root directory..."
|
||||||
|
sudo cp $run_directory/bashrc /root/.bashrc
|
||||||
|
sudo cp $run_directory/vimrc /root/.vimrc
|
||||||
|
sudo cp $run_directory/tmux.conf /root/.tmux.conf
|
||||||
|
|
||||||
|
echo "Finished install. Exiting..."
|
||||||
|
exit 0
|
Loading…
Reference in New Issue
Block a user