Add stow command for convenience
This commit is contained in:
parent
d900f2217d
commit
52506e88a5
2 changed files with 11 additions and 0 deletions
|
@ -25,3 +25,4 @@ _darcs
|
||||||
install.py
|
install.py
|
||||||
\.gitmodules
|
\.gitmodules
|
||||||
scripts
|
scripts
|
||||||
|
stow
|
||||||
|
|
10
stow
Executable file
10
stow
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/env bash
|
||||||
|
set -e
|
||||||
|
if [ -f $HOME/.bashrc ]; then
|
||||||
|
echo 'Removing existing bashrc...'
|
||||||
|
mv $HOME/.bashrc $HOME/.bashrc.pre-stow
|
||||||
|
fi;
|
||||||
|
|
||||||
|
echo 'All file conflicts resolved, stowing...'
|
||||||
|
stow .
|
||||||
|
echo 'Finished stowing.'
|
Loading…
Reference in a new issue