1
0
Fork 0

Add stow command for convenience

This commit is contained in:
Nexus 2024-07-12 16:36:02 +01:00
parent d900f2217d
commit 52506e88a5
Signed by: nex
GPG key ID: 0FA334385D0B689F
2 changed files with 11 additions and 0 deletions

View file

@ -25,3 +25,4 @@ _darcs
install.py
\.gitmodules
scripts
stow

10
stow Executable file
View 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.'