Initial checkin
This commit is contained in:
20
deploy.sh
Executable file
20
deploy.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Deploying dotfiles..."
|
||||
|
||||
pushd $HOME &> /dev/null
|
||||
|
||||
FILES=($(ls -p .dotfiles | grep -v / | grep -v deploy))
|
||||
|
||||
for file in ${FILES[@]}; do
|
||||
mv .$file .${file}.bak
|
||||
ln -s .dotfiles/$file .$file
|
||||
done
|
||||
|
||||
mkdir -p .config
|
||||
mv .config/fish .config/fish.bak
|
||||
ln -s .dotfiles/fish .config/fish
|
||||
|
||||
popd &> /dev/null
|
||||
|
||||
echo "...done."
|
||||
Reference in New Issue
Block a user